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.

Suggestion for improvement – To be able to modify the header in any post

  • #8966
    Avatar photo[anonymous]

    I understand that it is not easy to implement, but it would be great to be able to modify the head and html tags individually. What would be the benefits? First of all to be able to modify all the metas in each post individually. Secondly, it would facilitate the reallization of multilingual pages. Thirdly we could make a different schema for a faqs page for example.

    Is anyone doing this? I have a multilanguage web with different metas and schemas, to achieve this I had to upload the posts manually in the root of the input and redo the sitemap, I had no major complication but for webs of more than 100 pages it is unfeasible.

    #8967
    Avatar photoBob

    I think you can figure it out by post config options → https://getpublii.com/dev/post-config-options/

    #8970
    Avatar photo[anonymous]

    I get both points.

    I would like to see an option for schema.org code both in the header and content. I realize this is a whole lot of work… but could be a plugin for someone to write.

    For example, Article or post for a post, though this could possibly be done in the templates if you are a coder or through options as stated, and for something like Images or Image Galleries within the content. These things are important for search inclusion. I use CoffeeCup Site Designer and can use it to create sample schema code without coding directly – though I can certainly do that. Then I add it in the HTML or header or in the template or other option. I a bit arduous. But could be done.

    Cheers!!

    #8973
    Avatar photo[anonymous]

    I have not been able to find in the theme files where the Schema is configured. Sorry for my lack of knowledge.

    If I would like to make a “page type” selector, that can be selected in the publii post configuration. With several options for example Post, Local Business and FAQ, each one with its schema integrated.
    How would you do it?

    #8994
    Avatar photo[anonymous]

    It seems that @candidexmedia has made a tutorial on Github. Thank you very much I needed it!

    #9014
    Avatar photo[anonymous]

    Thanks for the shoutout @seb_oi! Here’s the gist for anyone curious: https://gist.github.com/candidexmedia/6304251e0bc2baf7ee07565b4f6fac49