Support » Themes and Templates » [Resolved] Why does a new page open
2 years, 8 months ago
I set the link for the Learn More button on Slider 1 in the box called “Slide 1 Link”. But it opens up a new page, is there a way to ensure that it just moves to the new page. Have I set it up wrong?
Hi, go to Appearance > Editor and edit Main Index Template(index.php). Find this line:
<a href="<?php echo( ($options['slide2_link'])); ?>" target="_blank" rel="nofollow" class="button">Learn more</a>
Just remove the ‘ target=”_blank” ‘ attribute from the anchor (<a>) tag.
Thanks worked perfectly, had to do a little chmod to get editing to work but at least I understand that.