• Resolved karminsense

    (@karminsense)


    Hello — I am using the Button Short Code on my site. How can I get the link to open in the same tab instead of opening in a new tab. When I check the code in Firebug it shows:

    <a class="btn btn-large btn-warning " <strong>target="_blank</strong>" style="color:#fff;" href="https://www.karminsense.com/cost-of-hiring-employees/">Learn More ?</a>

    However, I can’t find where the target=_blank is located to change the code to target=”_self”.

    I am also using a child theme.

    karminsense.com

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • how did you link to the page? There should be a box when you go to link in the admin that says “open link in new window”. Make sure that is unchecked.

    Or you can view in text rather than visual to see and remove the code manually

    Thread Starter karminsense

    (@karminsense)

    Thank you Janet. Here are the step that I took:
    1) From Visual Editor > Clicked Add Button
    2) From Visual Editor > Replaced default text Name "button" with my text Learn More. Without adding any link at all, it I click on the button it opens in a new tab. I continue to add the link to see if it fixes the problem.
    3) From Visual Editor > Highlight the Learn More button text. > Click the Insert/Edit Link icon.
    4) I select a page from the link to existing content
    4) The Open link in a new window/tab remains unchecked.

    I’m not sure what else I can do to have the link open in the same tab. Any suggestions?

    Thanks again.

    View the same page with the text editor and look again at the code. NOT the visual editor.

    Thread Starter karminsense

    (@karminsense)

    Thank you. I needed to add the button type.

    `[fruitful_btn type=”button”]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Button Shortcode link won't open in same tab’ is closed to new replies.