Support

Home Forums Event Espresso Premium Editing the Registration Page/Venue URL

Editing the Registration Page/Venue URL

Posted: August 31, 2017 at 9:45 am

Viewing 2 reply threads


dionne.c

August 31, 2017 at 9:45 am

We have our Registration Page displaying a section for the “ticket selector” and a section displaying “Location”. Under the section titled “Location”, the Venue title displays and links to a venues post. For example it reads:

LOCATION
VENUE: Hyatt Hotel NYC

A user is able to click “Hyatt Hotel NYC” and is directed to the Venue post url. We do not want a user going to this page. How can we either remove hyperlink or edit to direct to another page?


Josh

  • Support Staff

August 31, 2017 at 10:10 am

You can remove the hyperlink by adding the following code to your website:

function espresso_venue_name( $VNU_ID = 0, $link_to = 'details', $echo = TRUE ) {
 if($echo){
  echo EEH_Venue_View::venue_name( $link_to, $VNU_ID );
  return '';
 }
 return EEH_Venue_View::venue_name( '', $VNU_ID );
}

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.


dionne.c

August 31, 2017 at 11:14 am

Perfect, thank you very much!

Viewing 2 reply threads

The support post ‘Editing the Registration Page/Venue URL’ 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