Sign in

Custom Field ?

  • This topic has 2 replies, 2 voices, and was last updated 5 months, 2 weeks ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5971
    miniyo

    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
    Bob

    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

    --
    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!

    #5973
    miniyo

    Really Thanks !!

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