Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4290
    Marko prelec
    Participant

    I really like templates for all the pages in Events Maker plugin so i wonder if it is posibble for feature to also have templates for widgets?

    #4295
    Bartosz
    Keymaster

    Hello Marko,

    Templates are required for specific pages to work, and loaded via buitin WP templating system. Widgets for differenty, but I’ll surprise you – there is already a way to modify EM widgets output. How to do that?

    Just use the pluggable punctions. Most of the widgets output is controlled via em_display_events() function located in includes/functions-template.php. If you copy that to functions.php of your theme you’ll be able to ovverride the default widget display.

    Try that and share your thoughts.

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