Title: ooomes's Replies | WordPress.org

---

# ooomes

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

 *   [Profile](https://wordpress.org/support/users/ooomes/)
 *   [Topics Started](https://wordpress.org/support/users/ooomes/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ooomes/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ooomes/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ooomes/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ooomes/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ooomes/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: [Custom Post Type for Smart Archives Reloaded plugin](https://wordpress.org/support/topic/custom-post-type-for-smart-archives-reloaded-plugin/)
 *  [ooomes](https://wordpress.org/support/users/ooomes/)
 * (@ooomes)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/custom-post-type-for-smart-archives-reloaded-plugin/#post-1770986)
 * Hi jhodara,
 * am looking for the same answer…
 * Scribu, it will be great if you could put some light on this.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] [Plugin: Events Manager] Single Event Page](https://wordpress.org/support/topic/plugin-events-manager-single-event-page/)
 *  Thread Starter [ooomes](https://wordpress.org/support/users/ooomes/)
 * (@ooomes)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-single-event-page/#post-2288241)
 * Hi,
 * tried a lot of things but no luck…
 * Any thoughts/suggestions on to achieve this will be a great help for me.
 * The output hoping to get:
 * **Upcoming Events**
    -  Upcoming Event Item 1
       Upcoming Event Item 2 Upcoming Event Item 3
 * **Past Events**
    -  Past Event Item 1
       Past Event Item 2 Past Event Item 3
 * Any new approach to achieve this along with working links when clicked on event
   title to view detail event??
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] [Plugin: Events Manager] Single Event Page](https://wordpress.org/support/topic/plugin-events-manager-single-event-page/)
 *  Thread Starter [ooomes](https://wordpress.org/support/users/ooomes/)
 * (@ooomes)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-single-event-page/#post-2288232)
 * Hi Marcus,
 * do you mind providing an example snippet as reference to my code??
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] [Plugin: Events Manager] Single Event Page](https://wordpress.org/support/topic/plugin-events-manager-single-event-page/)
 *  Thread Starter [ooomes](https://wordpress.org/support/users/ooomes/)
 * (@ooomes)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-single-event-page/#post-2288211)
 * Hi agelonwl,
 * my code:
 *     ```
       <?php
       /* Template Name: Events */
       get_header(); the_post();
       ?>
       <!-- EOF Header -->
   
       	<div id="container">
       		<div class="page-content">
   
       			<div class="content-main events">
       				<h2>Events</h2>
       				<?php the_content(); ?>
       				<h3>Upcoming Events</h3>
       				<?php
       					if (class_exists('EM_Events')) {
       						echo EM_Events::output( array('limit'=>0,'scope'=>'future') );
       					}
   
       				?>
       				<h3>Past Events</h3>
       				<?php
       					if (class_exists('EM_Events')) {
       						echo EM_Events::output( array('limit'=>20,'scope'=>'past', 'pagination' => 1) );
       					}
   
       				?>
   
       			</div>
       			<?php get_sidebar(); ?>
       		</div>
       <?php get_footer(); ?>
       ```
   
 * [@marcus](https://wordpress.org/support/users/marcus/):
 * Hi Marcus, Regarding the above code, I get a list of all events because of the_content()
   function and get the past and future events list too and the single page works
   but keeps the Past and Future events lists at the bottom which i don’t need on
   single page. Since i don’t need the default list of events showing up due to 
   the_content() function, i comment that wordpress function and just use the EM
   codes for past and future events then the single page does not work. The URL 
   changes to [http://SITE_URL/events/event/EVENT_NAME/](http://SITE_URL/events/event/EVENT_NAME/)
   but the page stays same (Past and Future Events List) with no event detail content.
 * Hope this explains my issue…
 * Any help is highly appreciated.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] [Plugin: Events Manager] Single Event Page](https://wordpress.org/support/topic/plugin-events-manager-single-event-page/)
 *  Thread Starter [ooomes](https://wordpress.org/support/users/ooomes/)
 * (@ooomes)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-events-manager-single-event-page/#post-2288092)
 * no luck…
 * let me explain my recent settings:
 * I have a page for events called “Events” with custom WP template called “Events”
   –
   EM Settings: – Events Page -> Events – Show Events page in lists? -> No – Disable
   title rewriting? -> No
 * And am using template tags in my event template “template-events.php” to show
   all the future events in one section and then all the past events in another 
   section.
 * The thing is that it is working but when i click on the listed event title to
   go to the detail page, nothing happens. I mean the URL changes to eg. [http://abc.com/events/event/EVENT_TITLE](http://abc.com/events/event/EVENT_TITLE)
   but there is no detail rather shows the same list of Future and Past Events. 
   Even i tried with define(‘EM_DISABLE_PERMALINKS’, true); but still the same case,
   the url changes to [http://abc.com/events/?event_id=8](http://abc.com/events/?event_id=8)
 * Please need some light…
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] [Plugin: Events Manager] Link dialogue box not working](https://wordpress.org/support/topic/plugin-events-manager-link-dialogue-box-not-working/)
 *  [ooomes](https://wordpress.org/support/users/ooomes/)
 * (@ooomes)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-events-manager-link-dialogue-box-not-working/#post-1989699)
 * I am having the same issue… but it works with HTML Viewer’s link button which
   is quite odd for the clients with less/zero HTML/WordPress knowledge. It also
   works if TinyMCE’s advanced link option is enabled but doing that will disable
   the WP 3.1’s internal link facility. A quick fix to this will be a great help.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple Fields] [Plugin: Simple Fields] Using Role Scoper – File upload blocked! no permissions](https://wordpress.org/support/topic/simple-fields-vs-role-scoper-file-upload-blocked-no-permissions/)
 *  [ooomes](https://wordpress.org/support/users/ooomes/)
 * (@ooomes)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/simple-fields-vs-role-scoper-file-upload-blocked-no-permissions/#post-1961436)
 * Am experiencing the same issue.
 * Will be a great help if fixed.
 * Thanks!

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