WordPress.org

Ready to get started?Download WordPress

Forums

Adding XML/RSS feed button to sidebar? (4 posts)

  1. squires
    Member
    Posted 9 years ago #

    I am a really big technical ignoramus, haven't even touched WP files myself to edit them ever. But - I realize that in 1.5, there's no XML or RSS button on the sidebar. My RSS feed works, as far as I know (http://www.polyglotconspiracy.net/wp-rss2.php), but how do I link to it directly from the page? Do I need to add something to the template file? If anyone can provide a simple instruction, I'm greatly appreciative! [I also should know by now how to add buttons in general, e.g. for Bloglines and such, but again, Ignoramus.]

  2. Kafkaesqui

    Posted 9 years ago #

    Look at the footer of your page for a link to your rss feed.

    If you'd rather have it in your sidebar, most tend to place it in the "Meta" section. You can access this by editing the sidebar.php in wp-content/themes/default/. Just insert a line for the link in <li> tags, like so:

    <li><a href="feed:<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a></li>

    The <?php bloginfo('rss2_url'); ?> generates the URL for your rss2 feed automatically. Also, the "feed:" scheme is used so that a feed reader installed on your system and set up as the default program for rss feeds will start up with that link. But it's not necessary, not supported everywhere, and many tend to remove it.

  3. squires
    Member
    Posted 9 years ago #

    Thanks so much! I took out the feed and it worked fine. Except now my comment feed does'nt seem to work.

  4. Kafkaesqui

    Posted 9 years ago #

    "Except now my comment feed does'nt seem to work."

    Yeah, I've got a plugin fix for that one:

    http://guff.szub.net/entity2ncr/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.