Christmas Sale | Flat 20% OFF on Lifetime & All Themes Package. Use coupon code XMAS2024 Buy Now

WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

inner banner

Sports Club Pro – Button targets not functioning

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21400
    bill.lee
    Participant

    Good afternoon,
    The shortcode for buttons is opening in the same window, even when I set a target. I’ve tried several targets with no success.
    Am I doing something wrong, or am I misunderstanding what that’s for? I wasn’t able to find any documentation on it, nor any other posts on the forums.

    Thanks!

    #21416
    Grace Themes
    Member

    Hi,

    To solve this problem,

    Go to the Appearance -> Editor -> inc/custom-functions.php
    find the below code at line no. 833

    <a class="button" href="'.$link.'" target"'.$target.'">'.$name.'</a>

    Change this code with new code

    <a class="button" href="'.$link.'" target="'.$target.'">'.$name.'</a>

    Regards
    Grace Themes

    #21421
    bill.lee
    Participant

    Yes, that was it! Great stuff!
    Thanks a lot for the quick response!

    #21428
    Grace Themes
    Member

    You are most welcome!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.