Sign in
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

  • This topic has 2 replies, 3 voices, and was last updated 1 year ago by .
Viewing 3 posts - 1 through 3 (of 3 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!

    #9284
    Avatar photocandidexmedia
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.