Site logo

Archived topic

Multiple post templates, let authors choose

1 reply · Started by Zlatan on October 16, 2021

Viewing posts 1–2 of 2

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

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.

This archived topic is closed to new replies.