Sign in

Post as events

  • This topic has 1 reply, 2 voices, and was last updated 1 month, 3 weeks ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8878
    Avatar photogeo

    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 photoprivii

    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/

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