• Resolved mdmoreau

    (@mdmoreau)


    Is there a way to change the initial widget format? I’d like to structure each widget a certain way by default – without having to enter formatting code in each newly created instance.

    The template overrides are great for the main plugin files, but I haven’t been able to find anything about customizing the widgets through a theme. I can see what would need to be changed in the widgets/em-events.php file, for example, but I’m not quite sure how to go about overriding that through a theme. Is something like that possible?

    http://ww.wp.xz.cn/plugins/events-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    did you try WP Widgets > Events Widget > List Item Format ?

    Thread Starter mdmoreau

    (@mdmoreau)

    Do you mean under Appearance > Widgets? It seems like when you set the formatting there it only applies to that one widget instance. I’d like to be able to setup a different template within my theme to override the default structure.

    I can see what would need to change in the widgets/em-events.php file, but ideally I’d like to avoid editing any of the plugin files directly. In the defaults array there’s a key for ‘format’ – wondering if there’s a simple way to change that through my separate theme files.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Change Widget Default Format’ is closed to new replies.