Title: TheChosen1's Replies | WordPress.org

---

# TheChosen1

  [  ](https://wordpress.org/support/users/imran0/)

 *   [Profile](https://wordpress.org/support/users/imran0/)
 *   [Topics Started](https://wordpress.org/support/users/imran0/topics/)
 *   [Replies Created](https://wordpress.org/support/users/imran0/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/imran0/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/imran0/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/imran0/engagements/)
 *   [Favorites](https://wordpress.org/support/users/imran0/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] [Plugin: The Events Calendar] If page or single](https://wordpress.org/support/topic/plugin-the-events-calendar-if-page-or-single/)
 *  Thread Starter [TheChosen1](https://wordpress.org/support/users/imran0/)
 * (@imran0)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-the-events-calendar-if-page-or-single/#post-3052209)
 * Nevermind found a solution
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] [Plugin: The Events Calendar] Showing blank event below actual events](https://wordpress.org/support/topic/plugin-the-events-calendar-showing-blank-event-below-actual-events/)
 *  Thread Starter [TheChosen1](https://wordpress.org/support/users/imran0/)
 * (@imran0)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-the-events-calendar-showing-blank-event-below-actual-events/#post-3038105)
 * Done
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] [Plugin: The Events Calendar] Showing blank event below actual events](https://wordpress.org/support/topic/plugin-the-events-calendar-showing-blank-event-below-actual-events/)
 *  Thread Starter [TheChosen1](https://wordpress.org/support/users/imran0/)
 * (@imran0)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-the-events-calendar-showing-blank-event-below-actual-events/#post-3038103)
 * Thanks Rob and Jonah for your help! I appreciate it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] [Plugin: The Events Calendar] Showing blank event below actual events](https://wordpress.org/support/topic/plugin-the-events-calendar-showing-blank-event-below-actual-events/)
 *  Thread Starter [TheChosen1](https://wordpress.org/support/users/imran0/)
 * (@imran0)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-the-events-calendar-showing-blank-event-below-actual-events/#post-3038099)
 * I’ve reverted to just changing the default template file instead of using my 
   own custom file and it does work.
    But I would like to know what was the issue,
   the only line I did not have would be line 14 which is: `if ( !defined('ABSPATH')){
   die('-1'); }`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] [Plugin: The Events Calendar] Showing blank event below actual events](https://wordpress.org/support/topic/plugin-the-events-calendar-showing-blank-event-below-actual-events/)
 *  Thread Starter [TheChosen1](https://wordpress.org/support/users/imran0/)
 * (@imran0)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-the-events-calendar-showing-blank-event-below-actual-events/#post-3038098)
 * I havent installed any other calender plugins prior to this.
    As I stated I created
   a new template file called events.php which the code shown in pastebin link and
   then simply selected that as the template on the plugins settings templates tab.
 * I have not used a page.php file, I used events.php which has codes the codes 
   that include the plugins time:
 * `<?php include(tribe_get_current_template()); ?>`
 * Does this need to be in some kind of loop? Maybe that is the reason.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] [Plugin: The Events Calendar] Showing blank event below actual events](https://wordpress.org/support/topic/plugin-the-events-calendar-showing-blank-event-below-actual-events/)
 *  Thread Starter [TheChosen1](https://wordpress.org/support/users/imran0/)
 * (@imran0)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-the-events-calendar-showing-blank-event-below-actual-events/#post-3038089)
 * You can view the pages here:
    [http://tinyurl.com/9tvte63](http://tinyurl.com/9tvte63)
 * There are actually three events that I have created but it only shows 2 for some
   reason, when you go to ‘previous events’ it shows two blank events.
    When reverting
   to default template it will show all three items and there is nothing in past
   events (how it should be).
 * The template I have used is exactly as shown as in the pastebin link.
    I have
   not changed any other files, both wordpress and the plugin are up to date too.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] [Plugin: The Events Calendar] Showing blank event below actual events](https://wordpress.org/support/topic/plugin-the-events-calendar-showing-blank-event-below-actual-events/)
 *  Thread Starter [TheChosen1](https://wordpress.org/support/users/imran0/)
 * (@imran0)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-the-events-calendar-showing-blank-event-below-actual-events/#post-3038082)
 * Hi Rob
 * Thanks for your response,
    I’ve followed your instructions and found that its
   the template file I’m using. I set the plugin to use custom page events.php that
   I created to display events, once I reverted to the default template it worked
   fine.
 * I’m struggling to figure out what went so wrong with my template though, do you
   mind having a look?
    The code is in the link below: [http://pastebin.com/1YK9NX1Z](http://pastebin.com/1YK9NX1Z)
 * Cheers!

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