Get 20% Off On All Our Premium WordPress Themes Bundle. Use GRACEBFCM Coupon Code For Discount Deal Upto Dec 15 Buy Now

Sports Club Pro – Button targets not functioning

Home Support All Other Themes 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.