WordPress.org

Support

Support » Themes and Templates » Featured Button

Featured Button

  • Is there a way to add html links for the Featured Button to make it open in new tab when someone clicks on it ?

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ulrich

    @grapplerulrich

    WordPress Contributor

    Hi,

    Currently the theme doesn’t have this options, but you can edit “front-page.php”.
    Install child theme following instructions from here:
    http://codex.wordpress.org/Child_Themes
    after that copy “front-page.php” file from shell-lite theme folder to your child theme.
    Now edit new “front-page.php” file. In line 83 replace
    echo '<a href="'.$options['featured_button_link'].'">';
    with
    echo '<a href="'.$options['featured_button_link'].'" target="_blank">';
    and it should working fine.

    Let me know if you have other questions

    Stanko

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Featured Button’ is closed to new replies.