Sign in

need access to the head section of the post code

  • This topic has 1 reply, 2 voices, and was last updated 7 months, 2 weeks ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7332
    Avatar photoadlermail3

    The HTML editor in the publii provides the access to the body part of the post HTML code meanwhile the custom head code Alow the developer to add code that is applied to all posts, but there are cases we need to add code to the head part of the individual post like adding

    <label class="css-iox9wj e1g3q8zm0" for="output-code">JSON-LD FAQ Schema Code for every individual post.</label>

    who we can put code in the head part of an individual post?

    #7333
    Avatar photoBob

    Play around with the post config options →  https://getpublii.com/dev/post-config-options/#post-config-options

    PS: To preserve your custom code and prevent it being overwritten the next time the theme is updated, please ensure that you have created override files; these are, essentially, copies of the existing theme files that are stored separately from the main theme fileshttps://getpublii.com/dev/theme-overrides/

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.