Vertoh

  1. Home
  2. Docs
  3. Vertoh
  4. Frequently Asked Questions
  5. How can I make the register links to open in a new window?

How can I make the register links to open in a new window?

To open the register links on a new tab/window do the following:

1) Opened wp-content/themes/vertoh-child/header.php

4) Around line number 67, you can find:

<a href=”<?php echo $registration_calltoaction_url; ?>”><i class=”fa fa-ticket pull-right right-icon”></i></a>

5) Replaced this to:

<a target=”_blank” href=”<?php echo $registration_calltoaction_url; ?>”><i class=”fa fa-ticket pull-right right-icon”></i></a>

6) Copied wp-content/themes/vertoh/components/templates/headers/home/slider.php to wp-content/themes/vertoh-child/components/templates/headers/home/slider.php

7) Opened wp-content/themes/vertoh-child/components/templates/headers/home/slider.php

8) Around line number 51, you can find:

<a href=”<?php echo $registration_calltoaction_url; ?>” class=”section-button”><?php echo stripslashes($reg_widget[‘registrationcalltoactiontext’]); ?></a>

9) Changed this to :

<a href=”<?php echo $registration_calltoaction_url; ?>” class=”section-button” target=”_blank”><?php echo stripslashes($reg_widget[‘registrationcalltoactiontext’]); ?></a>

10) Opened wp-content/themes/vertoh-child/functions.php

11) Added the following code to the end of this file:

12) Saved 3 files.

 

 

Was this article helpful to you? Yes No