how to add a facebook icon next to rss icon at the top of theme
I actually asked about a similar question in this post yesterday:
Its about placing icons after the RSS at the top 🙂Admin
You can use the
graphene_feed_iconaction hook to add additional icons beside the RSS icon at the top bar.
The code should be something like this below (place it in your child theme’s functions.php):
<!-- The content goes here -->
PS: Michael, that looks familiar? 😀Admin
Andrew: All you do is just upload a blank functions.php file to the graphene-child themes folder and then log into wp-admin to start editing it.
Syahir: The images DO display but they are NOT clickable ….
I’m gona install the new beta now see if it helps 😉
Heres what i use (the src are just my own images you can use default ones just get default code from addthis.com):
< a class=”addthis_button_twitter”>< /a>
< a class=”addthis_button_facebook”>< /a>
Remember tremove the spaces after each <
The reason there are spaces is because otherwise it executes the code in these comments 🙂
getting this error when I try to use the above mentioned with my own css and functions.php in the child theme:
Parse error: syntax error, unexpected ‘}’ in /home1/uglycars/public_html/libertythinkers/wp-content/themes/graphene_child_theme/functions.php on line 5
my child theme style.css:Code:/*
Theme Name: Graphene Child
Theme URI: http: //example.com/
Description: Child theme for the Graphene theme
Author: Your name here
Author URI: http: //example.com/about/
/* Your modification goes here */
< a class=”facebook_icon”>< /a>
You must be logged in to reply to this topic.