• Resolved kmesd62

    (@kmesd62)


    I’m having difficulty getting custom templates to activate. According to this page I should

    …create a new folder called “events” in your template directory and copy over the following files from within the plugin folder (the-events-calendar/views/):
    gridview.php
    list.php
    single.php
    events-list-load-widget-display.php

    I don’t have a WP directory called templates, but the theme folders have templates in them… I’ve tried copying the specified files to a new folder in the active theme but editing them has no effect on the plugin output.

    Any ideas?

    KMesd
    Web veteran, WP newbie

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    I did this by making a folder in my wp-content>themes>my theme folder called events. In my example the theme is called guild so the folder needs to be put here: my https://www.yourwebsite.com/wp-content/themes/guild/events

    Then put the four files in the events folder.

    I suggest you make a bold change first so you can clearly see if it is working eg. in gridview.php change the text in this line which begins <h2 class=”tec-cal-title”><?php _e(‘Calendar of Events’, $spEvents->pluginDomain) ?></h2>
    to something like <h2 class=”tec-cal-title”><?php _e(‘KNesd calendar’, $spEvents->pluginDomain) ?></h2>

    If the change does not show, try refreshing. If it still does not show you nay need to enable and disable any other plugins one at a time to see if there is a conflict.

    Hope this helps, I have found the plugin really good to use.

    This plugin creates a category called events, in the theme I am using (Big feature) you can have a category as a menu item, clicking takes you direct to the calendar, grid or list. No code.

    Thread Starter kmesd62

    (@kmesd62)

    Thanks asplash – all sorted

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting custom templates to work – the-events-calendar plugin’ is closed to new replies.