Site logo

[Support request] Multiple post templates, let authors choose

Home Forums Support [Support request] Multiple post templates, let authors choose

Home Forums Support Multiple post templates, let authors choose

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1965632
    Zlatan

    Hi,

    I would like to create 3 different post templates and let the authors choose which one fits the best when they write a new post. The Newspaper theme has this functionality (see the screenshot below). Is it possible to create something like this with GeneratePress, Elements and ACF Pro.

    Newspaper screenshot

    #1965865
    David
    Staff
    Customer Support

    Hi there,

    not exactly in the way the Newspaper theme is working as that is using Custom Page / Post Templates.
    Whereas elements are a custom template you ‘hook’ into the Themes templates.

    But you could create something similar ie. allow the to select an ‘option’ that could be used to set an Elements Display Rules.

    A simple solution is to create a custom taxonomy for your posts, and use the taxonomy terms to set the display rules.
    See here for an example on how to do that:

    https://generatepress.com/forums/topic/reducing-the-number-of-element-headers/#post-1942770

    Anything fancy like the interface above and using custom templates would require custom development.

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