Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

need access to the head section of the post code

  • #7332
    Avatar photo[anonymous]

    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/

    #9284
    Avatar photo[anonymous]