Title: Events list in a single event page
Last modified: December 12, 2017

---

# Events list in a single event page

 *  Resolved [asafm7](https://wordpress.org/support/users/asafm7/)
 * (@asafm7)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/events-list-8/)
 * Hi,
 * Can I use the events list shortcode within single event page to show “more events”?
 * When I try, it displays a list of events – all with the name and image of the
   event from the single event page itself, is there a workaround?
 * Thanks,
    Asaf

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/events-list-8/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/events-list-8/page/2/?output_format=md)

 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/events-list-8/#post-9777650)
 * I tried the shortcode below under events > settings > formatting > events > single
   events page format
 *     ```
       [events_list scope="future" limit=5 pagination=1 event="-#_EVENTID" ]
       ```
   
 *  Thread Starter [asafm7](https://wordpress.org/support/users/asafm7/)
 * (@asafm7)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/events-list-8/#post-9781525)
 * Thanks, but when I put formatting inside the shortcode it doesn’t work as expected.
 * Any ideas?
 * My code:
 *     ```
       [events_list scope="future" limit=5 pagination=1 event="-#_EVENTID"]
       <div class="event-item">
         <a href="#_EVENTURL">
           <figure>#_EVENTIMAGE</figure>
           <div class="event-date-and-time"><span class="event-date">#_{d.m}{is_long} - #@_{d.m}{/is_long}</span> <span class="event-time">#_24HSTARTTIME{has_time} - #_24HENDTIME{/has_time}</span></div>
           <h2 class="event-title">#_EVENTNAME</h2>
           <hr class="hr_color">
         </a>
       </div>
       [/events_list]
       ```
   
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/events-list-8/#post-9782508)
 * What output are you seeing?
 * Where are you using that code?
 *  Thread Starter [asafm7](https://wordpress.org/support/users/asafm7/)
 * (@asafm7)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/events-list-8/#post-9782615)
 * A grid of identical events (as the page’s event) – [https://382.e65.godaddywp.com/events/4th-sample-event/](https://382.e65.godaddywp.com/events/4th-sample-event/)
 * In: events > settings > formatting > events > single events page format.
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/events-list-8/#post-9785860)
 * Try swapping the first line of the shortcode for this:
 * `[events_list scope="future" limit="5"]`
 *  Thread Starter [asafm7](https://wordpress.org/support/users/asafm7/)
 * (@asafm7)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/events-list-8/#post-9786080)
 * Same result.
 *  Thread Starter [asafm7](https://wordpress.org/support/users/asafm7/)
 * (@asafm7)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/events-list-8/#post-9791099)
 * Any other ideas?
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/events-list-8/#post-9793327)
 * It’s possible this is a conflict caused by your theme or another plugin. To check
   if it is, can you test with all other plugins deactivated and while running the
   default WordPress theme?
 *  Thread Starter [asafm7](https://wordpress.org/support/users/asafm7/)
 * (@asafm7)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/events-list-8/#post-9795335)
 * I did.
 * And also cleaned all other code from the “single events page format”.
 * Same results.
 * What else can we try?
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/events-list-8/#post-9797335)
 * Can you post the complete code you’re now using for the single events page format?
 *  Thread Starter [asafm7](https://wordpress.org/support/users/asafm7/)
 * (@asafm7)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/events-list-8/#post-9799479)
 *     ```
       <div class="event-content">
         <div class="event-info">
           <h1>[event]#_EVENTNAME[/event]</h1>
           <div class="event-when">
             <h2>[wpml-string context="custom-strings" name="single-event_when_title"]When?[/wpml-string]</h2>
             <span class="event-date">#_{d.m}{is_long} - #@_{d.m}{/is_long}</span> | <span class="event-day">#l{is_long} - #@l{/is_long}</span> | <span class="event-hour">#_24HSTARTTIME{has_time} - #_24HENDTIME{/has_time}</span> <span class="event-when-note">#_ATT{When note}</span>
           </div>
           <div class="event-where">
             <h2>[wpml-string context="custom-strings" name="single-event_where_title"]Where?[/wpml-string]</h2>
             <span class="event-location-name">#_LOCATIONNAME</span>
           </div>
           <div class="event-details">
             <h2>[wpml-string context="custom-strings" name="single-event_details_title"]The details[/wpml-string]</h2> [acf field="event_details"]
           </div>
         </div>
         <div class="event-tickets-and-share">{has_bookings}
           <div class="event-tickets">
             <div class="vc_btn3-container vc_btn3-inline">
               <a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-modern vc_btn3-color-turquoise" href="#_ATT{Tickets link}" target="_blank" title="">[wpml-string context="custom-strings" name="single-event_tickets_link-text"]Buy tickets[/wpml-string]</a>
             </div>
           </div> {/has_bookings}
           <div class="event-share">[addtoany]</div>
         </div>
       </div>
       [events_list scope="future" limit="5"]<div class="event-item">
         <a href="#_EVENTURL">
           <figure>#_EVENTIMAGE</figure>
           <div class="event-date-and-time"><span class="event-date">#_{d.m}{is_long} - #@_{d.m}{/is_long}</span> <span class="event-time">#_24HSTARTTIME{has_time} - #_24HENDTIME{/has_time}</span></div>
           <h2 class="event-title">#_EVENTNAME</h2>
           <hr class="hr_color">
         </a>
       </div>
       [/events_list]
       #_EVENTNOTES
       ```
   
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/events-list-8/#post-9800069)
 * Thanks. Having done some more testing, I’ve found that the shortcode works correctly
   if it’s used without a closing tag. Like this, for example:
 * `[events_list scope="future" limit="5"]`
 * When used with a closing tag, it repeats the same event multiple times (as you
   found).
 * I’m not sure why this would be and I’ve passed this thread along to the Dev team.
 * Meantime, it might be possible to create a custom placeholder to do what you 
   want that works along the lines of the #_CATEGORYNEXTEVENTS placeholder.
 *  Thread Starter [asafm7](https://wordpress.org/support/users/asafm7/)
 * (@asafm7)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/events-list-8/#post-9805227)
 * Thanks.
 * Any ETA?
 * I need to deliver my site to a client soon…
 * Thanks again,
    Asaf
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/events-list-8/#post-9806416)
 * There’s no ETA on this, but I don’t think it will be seen as a high priority 
   because no else seems to have reported it.
 * Given that, you might want to investigate the alternatives I mentioned.
 *  Thread Starter [asafm7](https://wordpress.org/support/users/asafm7/)
 * (@asafm7)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/events-list-8/#post-9806627)
 * OK, thanks.
 * Can you please tell me where #_CATEGORYNEXTEVENTS is defined? So I can try to
   make my own placeholder based on it…
 * I did a search on the plugin’s folder and couldn’t find the definition.
 * Thanks again,
    Asaf

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/events-list-8/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/events-list-8/page/2/?output_format=md)

The topic ‘Events list in a single event page’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 19 replies
 * 4 participants
 * Last reply from: [asafm7](https://wordpress.org/support/users/asafm7/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/events-list-8/page/2/#post-9913133)
 * Status: resolved