Support

Home Forums Event Espresso Premium Open EE Venue pages in new tab

Open EE Venue pages in new tab

Posted: January 10, 2019 at 2:39 pm

Viewing 7 reply threads


Porter

January 10, 2019 at 2:39 pm

Currently from the registation page – the link to the venue opens in the same tab. Is there a way to change this to open in a new tab?


Porter

January 10, 2019 at 2:39 pm

This reply has been marked as private.


Porter

January 11, 2019 at 6:05 am

This reply has been marked as private.


Tony

  • Support Staff

January 11, 2019 at 6:22 am

Removing the link is fairly simple to do, you can do that by copying the template used into your themes root directory (preferably a child theme) and changing the code to not use a link.

Copy \wp-content\plugins\event-espresso-core-reg\public\Espresso_Arabica_2014\content-espresso_events-venues.php

Put the copy within your themes root directory, if you are not using a Child theme, now is the time to create one:

https://premium.wpmudev.org/blog/how-to-create-wordpress-child-theme/

Then place the file within your Child theme’s root directory.

Open up the file and change line 9 from:

$venue_name = espresso_venue_name( 0, 'details', FALSE );

To:

$venue_name = espresso_venue_name( 0, 'none', FALSE );


Porter

January 11, 2019 at 9:40 am

This reply has been marked as private.


Porter

January 11, 2019 at 9:41 am

This reply has been marked as private.


Tony

  • Support Staff

January 14, 2019 at 7:26 am

Yes, you can, thats the venue category and as you are loading your own version of the template you can just remove the call to output that.

On line 8 of the content-espresso_events-venues.php template file you’ll have:

<p><span class="smaller-text tags-links"><?php echo espresso_venue_categories(); ?></span></p>

Delete that.


Porter

January 15, 2019 at 4:46 am

This reply has been marked as private.
Viewing 7 reply threads

The support post ‘Open EE Venue pages in new tab’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso