How do I move the position of the RSS, Twitter, and Facebook icons?

  • Anonymous


    Hello, my website is

    How do I move the Social sharing buttons to be on my Nav menu?



    Kenneth John Odle


    I’m not a PHP expert by any means, but this will involve creating a child theme.

    In header.php, you will need to find this bit of code:

    <div id="rss" class="clearfix">
    <?php if ($graphene_settings['hide_feed_icon'] != true) : ?>
    <?php $custom_feed_url = ($graphene_settings['custom_feed_url']) ? $graphene_settings['custom_feed_url'] : get_bloginfo('rss2_url'); ?>
    <a href="<?php echo $custom_feed_url; ?>" title="<?php printf(esc_attr__("Subscribe to %s's RSS feed", 'graphene'), get_bloginfo('name')); ?>" class="rss_link"><span><?php _e('Subscribe to RSS feed', 'graphene'); ?></span></a>
    <?php endif; ?>
    <?php do_action('graphene_feed_icon'); ?>

    and move it into this section:

    <div id="nav">

    Keep in mind that since the menus are generated from an array, you would probably have to place them to either before or after the menu items.

    Like I said, I’m not a PHP expert, so if anyone has a better/easier/correct way of doing this, let us know.

    Good luck!


Viewing 2 posts - 1 through 2 (of 2 total)

  • You must be logged in to reply to this topic.