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

  • Anonymous

    #1355

    Hello, my website is http://www.makeupandskincareblog.com.

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

    Thanks

    Mod

    Kenneth John Odle

    #15445

    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'); ?>
    </div>

    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!

    Ken

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

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!