WordPress.org

Forums

isis
[resolved] social icons (9 posts)

  1. mium
    Member
    Posted 1 year ago #

    Can the Facebook social link be changed to open in a new tab? The other social links already open in another tab; I am only finding this for Facebook. Same for the Callout Section Link on the front page.
    Thanks in advance!

  2. Design Tempest
    Member
    Posted 1 year ago #

    You should add the attribute in the anchor tag target="_blank"

    For Example:

    <a href="https://www.facebook.com/" target="_blank">Visit Facebook </a>

    You can simply replace the link with your Facebook link.

    Cheers!

  3. esmi
    Forum Moderator
    Posted 1 year ago #

    Do not edit the theme itself. First create a child theme for your changes.

  4. mium
    Member
    Posted 12 months ago #

    Thanks for your help. Can you tell me where this code would go?

  5. Design Tempest
    Member
    Posted 12 months ago #

    If you could let us know your website url, I'd love to be more specific :)

  6. Imon Hasan
    Member
    Theme Author

    Posted 12 months ago #

    Hi,

    oen footer.php and find out this link

    <a href="<?php echo of_get_option('fbsoc_text');?>" title="facebook"></a>

    and replace with this

    <a target="_blank" href="<?php echo of_get_option('fbsoc_text');?>" title="facebook"></a>

    thanks

  7. mium
    Member
    Posted 12 months ago #

    Thanks. As always, great support!

  8. Design Tempest
    Member
    Posted 12 months ago #

    Cheers :)

  9. Imon Hasan
    Member
    Theme Author

    Posted 11 months ago #

    thanks

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic