WordPress.org

Ready to get started?Download WordPress

Forums

Flare
open social in new window (3 posts)

  1. wpkoenen
    Member
    Posted 1 year ago #

    Hi guys,
    when you click the follow button it goes to the social page and leaves my website.
    i would like it to open in a new window.
    anything i need to fix in functions.php to get that to happen?

    http://wordpress.org/extend/plugins/flare/

  2. hydn
    Member
    Posted 1 year ago #

    I guess I'm support for this plugin. lol

    Edit: /flare/views/widget/widget.php

    and change:

    <a href="<?php echo $button['url']; ?>"

    to

    <a target="_blank" href="<?php echo $button['url']; ?>"

    Basically just add target="_blank" between <a and herf=

    Hope that helps.

  3. carovienna
    Member
    Posted 7 months ago #

    Thanks sooo much! I just happened to come across your posting and it worked perfectly! have been trying to solve this issue for hours... just couldnt figure out where to place this target blank.. great..

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags