The Events Calendar
Problems with the widget template (3 posts)

  1. Azarea
    Posted 4 years ago #

    I tried to edit the widget template file (views/events-list-load-widget-display.php) but nothing changes on the live website.

    I tried to delete everything in it - same result - the widget is being displayed as usual.

    I can't find the <div class="when"> piece of code in any other place, but still, if you delete the file altogether or delete all its contents, the widget is being properly displayed.
    I emptied my cache, tried another browser, everything - the default widget code is still there.

    The only "solution" would be to directly edit "lib/widget-list.class.php", delete $template and copy/paste the code.

    What is happening? This has no logic whatsoever. Can you please help?


  2. onirisweb
    Posted 4 years ago #

    Hi, my first opinion goes to CSS problem or version incompatibility.

    Are your WP version and plugin version updated and compatible ? Do you use other widgets in your page ?

    Can you provide the site URL ?

  3. jonahcoyote
    Posted 4 years ago #

    Hey atreidex,

    If you're going to modify views/events-list-load-widget-display.php - it should be placed in an 'events' folder in your theme. Perhaps it's already there? If it is, then this is template the plugin will use, not the core file.

    Does that help?

    - Jonah

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • The Events Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic