WordPress.org

Forums

Flare
open social in new window (3 posts)

  1. wpkoenen
    Member
    Posted 2 years 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. Hayden James
    Member
    Posted 2 years 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 1 year 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

  • Flare
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags