Support » Plugin: Events Manager » Multiple Template Files

  • Resolved Nick Young

    (@nickyoung87)


    Hello,

    I want to be able to setup a few different templates with some basic information that will be repeated across all events so that I don’t have to copy and paste each time a new event is created.

    I saw the developer documentation about overriding templates which is great, but it doesn’t quite do what I need to do. I also saw that you can use theme templates for display, but it seems like you can only select this template once and not on an event per event basis.

    Is it possible to setup several templates like Template 1, Template 2, Template 3 and then map them onto specific events when those events are created?

    Thanks in advance for any help or suggestions!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Not sure if this solves your problem or not, but you can use the conditional tags to display different layouts. I use conditional categories to create different single event page layouts and pull in different items depending upon what category it is in.

    You could probably make 3 tags and conditionally build the design using and has and has_no respectively for each template

    https://wp-events-plugin.com/documentation/conditional-placeholders/

    Plugin Support angelo_nwl

    (@angelo_nwl)

    Im afraid that this is not possible at the moment however you can try replicating your theme template single.php and rename it to single-event.php which then you can do custom php coding to change formatting

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple Template Files’ is closed to new replies.