If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I would like to add Pinterest and other social media icons to the left sidebar at the bottom. I have the new icons uploaded to the server, but I cannot seem to get the code to work correctly (copying from other code found on this forum, but regarding a different theme).
What code should I use and where should I add it?
Thanks in advance for your help!
For Flashlight, the social_bookmarks list is in the sidebar.php file. However, it doesn’t have a lot of room to add additional icons so I would actually recommend just adding your new social media icons to a widget and have that displayed in the widget area “Displayed Everywhere (left)”,
That will give you the most simple way to control your new icons.
Otherwise, you can just add more list items to the code in sidebar.php and adjust the css as needed with the additional icons.
Hi- I erased the social media icons (twitter/fb) at the request of my client and now they want them back.- how would I do this?
Depending on how you erased/removed them, you would just re-download the theme files from your downloads on Themeforest and add the code for them back in to the appropriate spot.
I just deleted the code- so just put back this, correct?
if($twitter = avia_get_option(‘avia, twitter’)) echo “<li class=’twitter’>Twitter“;
if($facebook = avia_get_option(‘avia, facebook’)) echo “<li class=’facebook’>Twitter“;
<!– end social_bookmarks–>
You still need to add in the data to the themes options to have them show up. Otherwise they will be empty and not show.
The topic ‘Adding New Social Media Icons’ is closed to new replies.