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.

Custom Field ?

  • #5971
    Avatar photo[anonymous]

    Hello,
    With Publii, it is possible to add a custom field in the post editor and retrieve it when rendering. For example a field = “color” and when rendering show the value of this field on the cards or anywhere else?

    #5972
    Avatar photoBob

    Yeap, it is.

    Take a look at the Post Config options https://getpublii.com/dev/post-config-options/

    In short, it works in the post context, but thanks to the “postViewConfig” you can play around with these options on any pages https://getpublii.com/dev/post-config-options/#where-can-it-be-used

    #5973
    Avatar photo[anonymous]

    Really Thanks !!