Title: Two Pages?
Last modified: August 20, 2016

---

# Two Pages?

 *  Resolved [westcool](https://wordpress.org/support/users/westcool/)
 * (@westcool)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/two-pages/)
 * Is there a way to create two pages of events based on categories? I’d like different
   events on each page.
 * [http://wordpress.org/extend/plugins/events-manager/](http://wordpress.org/extend/plugins/events-manager/)

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

 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/two-pages/#post-3543480)
 * hi,
 * you can use shortcodes like [events_list category=x] where x is the events category
   id at Events > Events Category (if it’s not visible you can try to click Screen
   Options then tick Category ID and apply)
 * [http://wp-events-plugin.com/documentation/shortcodes/](http://wp-events-plugin.com/documentation/shortcodes/)
 *  Thread Starter [westcool](https://wordpress.org/support/users/westcool/)
 * (@westcool)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/two-pages/#post-3543487)
 * This was helpful and will work on separate pages to list by category
 * [events_list category=4713]
    #_EVENTLINK will take place at #_LOCATIONLINK on#
   _EVENTDATES at #_EVENTTIMES[/events_list]
 * but if I want to have the search by location function that is part of the default
   setup but only show by category, is that possible?
 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/two-pages/#post-3543495)
 * yes, you can edit template file at p-content/plugins/events-manager/templates/
   templates/events-list.php then add `$args['category'] = '4713';`
 *  Thread Starter [westcool](https://wordpress.org/support/users/westcool/)
 * (@westcool)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/two-pages/#post-3543512)
 * Can I subtract a category from showing up on the Events page?
 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/two-pages/#post-3543513)
 * yes, you can try something like `$args['category'] = '-4713';` *this will exclude
   all the events that uses this category
 *  Thread Starter [westcool](https://wordpress.org/support/users/westcool/)
 * (@westcool)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/two-pages/#post-3543525)
 * Hmmm, I’m a little slow. What I want to happen is to have two separate pages 
   which each show only a category. I want a “search by location” on each which 
   will only search the category and I want the Events Calendar to only show one
   category. I’m not a programmer, just HTML so I’m not sure where the PHP code 
   goes. Where would this go? $args[‘category’] = ‘-4713’; Can it apply to the Event
   Calendar?
    How do I add a location search? Can it go on the page itself or does
   it have to go in the PHP files?
 * Thank you for your help
 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/two-pages/#post-3543526)
 * hmmm, in that case you can use shortcode like [events_list category=”1,2,3″ location
   =”1″] or [events_list category=”-4,-5″ location=”2″] and for calendar [events_calendar
   full=1 long_events=1 category=64]
 * [http://wp-events-plugin.com/documentation/event-search-attributes/](http://wp-events-plugin.com/documentation/event-search-attributes/)
   
   [http://wp-events-plugin.com/documentation/shortcodes/](http://wp-events-plugin.com/documentation/shortcodes/)
 *  Thread Starter [westcool](https://wordpress.org/support/users/westcool/)
 * (@westcool)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/two-pages/#post-3543527)
 * OK, got the calendar working just fine, THANK YOU! but I want a “search by town
   limited to category” Not just a list of events by town. I read the attributes
   page but still don’t know how to put it together to get what I want.
    Needs to
   be in a format like
 * <form class=”em-events-search-form” method=”post” action=”concerts/”>
    <select
   class=”em-events-search-town” name=”town”> <input type=”hidden” value=”search_events”
   name=”action”> <input class=”em-events-search-submit” type=”submit” value=”Search”
   > </form> Somewhere in there it needs to list the towns and category=4713 but
   I don’t even know if it is possible.
 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/two-pages/#post-3543528)
 * try something like [events_list category=”1,2,3″ country=”US” town=”New York”]
 * [http://wp-events-plugin.com/documentation/event-search-attributes/](http://wp-events-plugin.com/documentation/event-search-attributes/)

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

The topic ‘Two Pages?’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=1039078)
 * [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/)

 * 9 replies
 * 2 participants
 * Last reply from: [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/two-pages/#post-3543528)
 * Status: resolved