Tagged: enfold, facebook, icon, social media
-
AuthorPosts
-
August 21, 2013 at 3:06 am #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?
August 21, 2013 at 4:08 am #136338Hi,
You can use plugins like:
http://wordpress.org/plugins/addthis/
http://wordpress.org/plugins/share-this/
Regards,
Ismael
August 21, 2013 at 2:08 pm #136339I 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.
August 22, 2013 at 3:18 am #136340Hey,
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
September 1, 2013 at 7:16 pm #136341Hi !
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
September 2, 2013 at 3:04 am #136342Hi,
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
-
AuthorPosts
- The topic ‘How do I add a Facebook icon next to the Twitter and RSS Feeds Icons?’ is closed to new replies.