WordPress.org

Support

Support » Themes and Templates » [Resolved] Why does a new page open

[Resolved] Why does a new page open

  • mccreeryd
    Member

    @mccreeryd

    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • tihanyilaci
    Member

    @tihanyilaci

    @mccreeryd

    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.

    mccreeryd
    Member

    @mccreeryd

    Thanks worked perfectly, had to do a little chmod to get editing to work but at least I understand that.

    mccreeryd
    Member

    @mccreeryd

    Resolved

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Why does a new page open’ is closed to new replies.