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.

Post as events

  • #8878
    Avatar photo[anonymous]

    Hello. Is it possible to add date as a custom field when create a post?  Then i need to display as list with the 10+ upcoming events.

    #8891
    Avatar photo[anonymous]

    You can add a custom field to posts. Edit your theme’s config.json (or it would be better to create an override copy) and add a new entry under postConfig. Something like:

    {
        "name": "myCustomField",
        "label": "Event Date",
        "value": "",
        "type": "text"        
    }

    It will appear under “Other options” when you edit a post.

    Edit – found the relevant doc:

    https://getpublii.com/dev/post-config-options/