Support » Plugin: The Events Calendar » Using a custom template

  • Resolved jmahony



    I wonder if anyone could help me.

    The way I understand The Events Calendar working at the moment is, when the user is viewing a single event they are directed to page.php then the template in ./events/single.php is included within page.php.

    Is there any way around this, I would like any events to load up say single-tribe_events.php when a single event is loaded.

    At the moment I’m having to use a bit of a fudged way to get the desired result and I’m sure there is probably a better way!

    At the moment I have a switch within page.php

    	switch ($post->post_type) {
    		case 'tribe_events':

    Thanks for any help


Viewing 4 replies - 1 through 4 (of 4 total)
  • jmahony


    Ignore this, I moved my site to a new server and it appears to be working as expected now, weird!

    Plugin Author Rob La Gatta


    Hey there jmahony. Thanks for the note here. Awesome to hear moving to a new server did the trick; not sure why that would be the case but all is well that ends well, right?

    Going to mark this RESOLVED since it seems like you’re set, but please let me know if you disagree. Otherwise feel free to reach out if we can do anything else in the future.



    Yes that fine, thank you!

    Plugin Author Rob La Gatta


    Great, thanks for your support and patience. If you ever find yourself with a free moment and would be willing to write us a review or give a “Works” rating here on the dot-org forum, we sure would appreciate it.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Using a custom template’ is closed to new replies.