WordPress.org

Ready to get started?Download WordPress

Forums

Shell Lite
Featured Button (3 posts)

  1. sbmonsey
    Member
    Posted 1 year ago #

    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

  2. Ulrich
    Member
    Posted 1 year ago #

  3. Stanko Metodiev
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.