Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #8347

    I used below to remove the rss button in the header but I want to move it to the footer. How can do? Please and thank you.

    #top .social_bookmarks{display:none;}

    #61103

    Hey,

    you can remove following code from header.php and insert it somewhere in footer.php (i.e. in the socket container):

    <ul class="social_bookmarks">
    <li class='rss'><a href="<?php bloginfo('rss2_url'); ?>">RSS</a></li>
    <?php
    if($twitter = avia_get_option('twitter')) echo "<li class='twitter'><a href='http://twitter.com/".$twitter."'>Twitter</a></li>";
    if($facebook = avia_get_option('facebook')) echo "<li class='facebook'><a href='".$facebook."'>Twitter</a></li>";
    ?>
    </ul>
    <!-- end social_bookmarks-->

    #61104
    <ul class="social_bookmarks">
    <li class='rss'><a href="<?php bloginfo('rss2_url'); ?>">RSS</a></li>
    <?php
    echo "<li class='phone'><a href='#top'>".__('scroll to top','avia_framework')."</a></li>";

    //contact icon
    $contact_page_id = avia_get_option('email_page');
    if (function_exists('icl_object_id')) $contact_page_id = icl_object_id($contact_page_id, 'page', true); //wpml prepared
    if($contact_page_id) echo "<li class='mail'><a href='".get_permalink($contact_page_id)."'>".__('Send us Mail', 'avia_framework')."</a></li>";

    if($twitter = avia_get_option('twitter')) echo "<li class='twitter'><a href='http://twitter.com/".$twitter."'>".__('Follow us on Twitter', 'avia_framework')."</a></li>";
    if($facebook = avia_get_option('facebook')) echo "<li class='facebook'><a href='".$facebook."'>".__('Join our Facebook Group', 'avia_framework')."</a></li>";

    ?>

    <li class='rss'><a href="<?php avia_option('feedburner',get_bloginfo('rss2_url')); ?>"><?php _e('Subscribe to our RSS Feed', 'avia_framework')?></a></li>

    </ul>
    <!-- end social_bookmarks-->

    Unsuccessful. This is what I have. Any thoughts?

    #61105

    Can you post a link to your website please (with the modified code).

    #61106

    http://northender.ca/

    Thanks Dude.

    #61107

    Try following code:

    #top .social_bookmarks {

    display: block;

    bottom: 10px;

    right: 0;

    }

    #61108

    But I was successful getting rid of it on the header. I want to move it to the footer.

    How do I do that?

    Thank you.

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

The topic ‘remove / move rss button’ is closed to new replies.