Black Friday & Cyber Monday Sale | Get Upto 30% OFF on Annual and Lifetime plan. Use Coupon Code GTBFCM22 Buy Now

WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

Reply To: Homepage slider – read more button

#1891
Grace Themes
Participant

Hi,

To open a image slider link in new tab needs to add some code (target=”_blank”) in anchor tag

Go to Appearance -> Editor -> header.php file


Find in line no. 113 
<a href="<?php echo of_get_option('slideurl'.$sln, true); ?>">

and relpace with 
<a href="<?php echo of_get_option('slideurl'.$sln, true); ?>" target="_blank">

Find at line no. 119 
<a class="button" href="<?php echo of_get_option('slideurl'.$sln, true); ?>">

and replace with
<a class="button" href="<?php echo of_get_option('slideurl'.$sln, true); ?>" target="_blank">
  • This reply was modified 6 years, 1 month ago by Grace Themes.