Graphene Themes Forum

Graphene Themes Forum

Community support for Graphene themes

  • Home
  • Register
    • Reset password
  • Contact Us

Home › Forums › Graphene WordPress theme › Support

how to add a facebook icon next to rss icon at the top of theme

  • cheatcut

    October 20, 2010 at 8:45 pm #151

    I browsed around, but I couldn’t find out how to add a facebook image to the right of the rss feed icon so I can link my site to my facebook page.

    anyone care to provide steps to accomplish that?

    I’d appreciate it.

    istrategy

    October 21, 2010 at 4:56 am #11407

    I actually asked about a similar question in this post yesterday:

    https://forum.graphene-theme.com/topic/beta-graphene-11b1/page/2#post-512

    Its about placing icons after the RSS at the top 🙂

    Admin

    Syahir Hakim

    October 22, 2010 at 8:30 pm #11408

    You can use the graphene_feed_icon action 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):

    function graphene_social_icons(){
    ?>
    <!-- The content goes here -->
    <?php
    }
    add_action('graphene_feed_icon', 'graphene_social_icons');

    PS: Michael, that looks familiar? 😀

    istrategy

    October 22, 2010 at 8:40 pm #11409

    Yes it does 🙂 But i think u had 1 too many } closes as it killed my site, but i figured it out 🙂

    istrategy

    October 22, 2010 at 8:42 pm #11410

    One last little thing to follow-up, the buttons wont/dont work in category pages as the addthis script isn’t there automatically … will this be overcome in the next update perhaps? Shall i explain further?

    Thanks!

    Admin

    Syahir Hakim

    October 22, 2010 at 8:53 pm #11411

    Oops..edited the code to remove the extra } 😀

    The buttons should work in all of the website’s pages, including the category pages. There’s nothing in the code to stop it from being displayed in the category page.

    Anonymous

    October 23, 2010 at 5:21 am #11412

    I figured out how to use a child theme with a css file, but damn if I can figure out how to make a child functions.php file..my php skills are very limited..would you mind indulging…I even googled it and it didn’t help much.

    istrategy

    October 23, 2010 at 11:56 pm #11413

    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 😉

    Anonymous

    October 24, 2010 at 6:18 am #11414

    thanks.

    Anonymous

    October 24, 2010 at 8:20 am #11415

    now I just need to figure out what code to enter inside here:

    function graphene_social_icons(){

    ?>

    <!– The content goes here –>

    <?php

    }

    add_action(‘graphene_feed_icon’, ‘graphene_social_icons’);

    man do I need to learn php…wow

Viewing 10 posts - 1 through 10 (of 39 total)

  • 1
  • 2
  • 3
  • 4
  • You must be logged in to reply to this topic.
Log In

Account

Log In
Register Lost Password

Search Forums

Priority Support

This free Support Forum relies on contributions from our support staffs and fellow Graphene themes users. While we endeavour to provide adequate and timely support, due to its voluntary nature responses are not guaranteed and may be delayed.

If you require urgent assistance, you may like to consider our Priority Support option.

Get Priority Support

Forums

  • Graphene WordPress theme
  • Graphene Mobile
  • Graphene Mobile Neo
  • Franz Josef

Recent Topics

  • The photo of my article is loading in the banner??
    12 months ago
  • need the original standard right sidebar back
    1 year ago
  • Hiding Child Listings only on Specific Pages?
    1 year ago
  • Is it possible to move the Comments counter?
    1 year ago
  • Image Size on Slider in home page
    1 year ago

Made with by Graphene Themes.