Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #28068

    I would like to add a Facebook Social Media icon next to the Twitter and RSS feeds icon at the bottom of the page? How would I do this? Is their currently a social media plugin in the Enfold Template somewhere that i am not seeing?

    #136338
    #136339

    I have the sharing buttons setup. I was more interested in a a facebook social icon for “like” on the footer next to the twitter and rss feeds icon that comes with the template.

    #136340

    Hey,

    You can add the code do_shortcode if the plugin has the code for it or you can edit framework > php > class-framework-widget.php. Find this code:

    $output .= "<a href='$link'>".apply_filters('avf_social_widget',"", 'rss')."<strong class='asc_count'>".$follower['rss']."<span>".$feed_text."</span></a>"; }

    Below you can a facebook social icon that will link to your facebook page.

    $output .= "<a href='http://www.facebook.com/kriesi'>".apply_filters('avf_social_widget',"", 'facebook')."<span>Like us</span></a>";

    Regards,

    Ismael

    #136341

    Hi !

    I’m also interested in adding more icons (at least facebook) to the “RSS Link and Twitter account” widget that’s in the demosite footer …

    So I looked in the above named file and haven’t found exact the same code …

    In line 624 I found something similar and addded your code …

    $output .= "<a href='$link' class='asc_rss $addClass'>".apply_filters('avf_social_widget',"", 'rss')."<strong class='asc_count'>".$follower['rss']."</strong><span>".$feed_text."</span></a>";
    }

    $output .= "<a href='http://www.facebook.com/kriesi'>".apply_filters('avf_social_widget',"", 'facebook')."<span>Like us</span></a>";

    Nothing happened as expected, cause the comment say Line 624 is for the AVIA SOCIALCOUNT widget…

    So could you please explain again the needed changes for adding a facebook icon and link to the facebook page in the “RSS Link and Twitter account” widget…

    Thanks

    Tom

    #136342

    Hi,

    Yes, it is located on line 624. Add the code below:

    $output .= "<a href='http://www.facebook.com/kriesi'>".apply_filters('avf_social_widget',"", 'facebook')."<span>Like us</span></a>";

    This is what it will look like if you follow the instructions successfully.

    Please remove browser cache then reload the page a few times.

    Regards,

    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How do I add a Facebook icon next to the Twitter and RSS Feeds Icons?’ is closed to new replies.