WordPress.org

Forums

Elisium
[resolved] Why does a new page open (4 posts)

  1. mccreeryd
    Member
    Posted 1 year 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?

  2. tihanyilaci
    Member
    Posted 1 year ago #

    @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.

  3. mccreeryd
    Member
    Posted 1 year ago #

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

  4. mccreeryd
    Member
    Posted 1 year ago #

    Resolved

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic