Home Forums Aside WordPress Theme Reply to dohgraphics

This topic contains 0 replies, has 1 voice, and was last updated by  Johnny 2 years, 9 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3325

    Johnny
    Participant

    dohgraphics:
    Hi,
    How can I put “blank target” in a short code button link? I tried a lot of possibilities and none has worked…

    Hi, please open file functions/theme/theme-shortcodes.php and find this line:
    $output = '<a class="ux-btn ' .$color.'" href="'.$link.'">'. $content .'</a>';
    update it to:
    $output = '<a class="ux-btn ' .$color.'" href="'.$link.'" target="_blank">'. $content .'</a>';
    Best

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.