Support » Plugin: Events Manager » [Plugin: Events Manager] Template for shortcode events_list

  • pavelevap



    is there any chance how can I set up another template for events_list shortcode in administration settings? There is main template which is usually needed for main events page (with post thumbnail, title, excerpt, etc.), but many users want to use also simple listings for other events_list shortcode (for example only title and date).

    Instead of using following code:

    [events_list category="417"]
    <li>#_EVENTLINK - #_{j.n.Y} #@_{- j.n.Y}</li>

    It would be very helpfull for users to use only:

    [events_list category="417"]


    [events_list category="417" template="short-list"]

    And other HTML and formatting issues could be solved in settings (fields before, format and after). Or is there any other way how can I achieve this? Editors of my site are not very HTML experienced and using the whole code makes sometimes problems with formatting issues, etc.

    Thank you very much for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • agelonwl


    you can use shortcode [events_list category=”417″] then do the formatting @ EM Settings > Formats/Layouts > Events Format ?



    No, this format is used on my main events page. There are specified post thumbnail, title, date, category, excerpt, etc. I need another simple template which can be used only for simple listings as in example above (for example title + date).



    I see now, you can create a new search attribute e.g. template="short-list" for that then do the formatting there.

    here’s a series of tutorials:

    Creating Custom Event Search Attributes

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Events Manager] Template for shortcode events_list’ is closed to new replies.