Title: Remove Location from listing
Last modified: November 12, 2019

---

# Remove Location from listing

 *  Resolved [nayeh](https://wordpress.org/support/users/nayeh/)
 * (@nayeh)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/remove-location-from-listing/)
 * In the sidebar and on the event listing I want to remove the location of the 
   event.
 * This website is for a theatre with only one stage so it’s always going to be 
   at the same place in the same room.
 * If I don’t enter anything it says “anywhere” which also isn’t acceptable. Is 
   it possible to hide this field altogether? If so, how?
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-location-from-listing%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Hitesh Makvana](https://wordpress.org/support/users/hiteshmakvana/)
 * (@hiteshmakvana)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/remove-location-from-listing/#post-12125548)
 * Hi [@nayeh](https://wordpress.org/support/users/nayeh/),
 * You need to override template file called `content-single-event_listing.php` 
   to your theme side by following this doc [https://wp-eventmanager.com/template-files-override/](https://wp-eventmanager.com/template-files-override/)
 * Then remove the following code from the template file
 *     ```
       <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
                         	<?php if(get_event_address()){ display_event_address(); echo ',';} ?> <?php display_event_location();?> 
                     	  </div>
       ```
   
 * Thank you
 *  Thread Starter [nayeh](https://wordpress.org/support/users/nayeh/)
 * (@nayeh)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/remove-location-from-listing/#post-12126498)
 * Hi Hitesh
 * Thank you for the reply.
 * I have created the directory in my theme as shown in the link you provided. I
   have gone into the plugin folder for wp event manager and have copied the `content-
   single-event-listing.php` to that new directory. When I go in to remove that 
   code I cannot find it. The only reference to address is at line 153 which is
 *     ```
       <h3 class="wpem-heading-text"><?php _e('Location','wp-event-manager');?></h3>
                         <?php if(get_event_address()){ display_event_address(); echo ',';} ?> <?php display_event_location();?> 
       ```
   
 * I’m not very familiar with php, so can you help further please?
 * Thank you
 *  Thread Starter [nayeh](https://wordpress.org/support/users/nayeh/)
 * (@nayeh)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/remove-location-from-listing/#post-12126516)
 * Hi [@hiteshmakvana](https://wordpress.org/support/users/hiteshmakvana/)
 * I went ahead and deleted the lines I showed above and it has worked.
 * Many thanks for the assistance.
 * Thanks

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

The topic ‘Remove Location from listing’ is closed to new replies.

 * ![](https://ps.w.org/wp-event-manager/assets/icon-256x256.png?rev=1622826)
 * [WP Event Manager – Events Calendar, Registrations, Sell Tickets with WooCommerce](https://wordpress.org/plugins/wp-event-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-event-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-event-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-event-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-event-manager/reviews/)

## Tags

 * [event-manager](https://wordpress.org/support/topic-tag/event-manager/)

 * 3 replies
 * 2 participants
 * Last reply from: [nayeh](https://wordpress.org/support/users/nayeh/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/remove-location-from-listing/#post-12126516)
 * Status: resolved