Vertoh

  1. Home
  2. Docs
  3. Vertoh
  4. Frequently Asked Questions
  5. How to open Registration link on a new tab ?

How to open Registration link on a new tab ?

Do the following to open Registration link on a new tab.

1) Open header.php with in the theme folder

2) Around line number 70, you can find :

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

3) Replace this with the following:

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

if you are using child theme, you can skip this 4th step

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

5) Open wp-content/themes/vertoh-child/components/templates/headers/home/slider.php

6) Around line number 51, you can find:

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

7) Replace this to:

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

i) Save files.

Was this article helpful to you? Yes No