• rtahir

    (@rtahir)


    I am using the Twenty Ten.
    I cannot see that it allow reader to get RSS feeds from it, as are available in other themes.

    Please help.
    Thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • esmi

    (@esmi)

    Your feed will be available via https://your_domain/feed/

    Thread Starter rtahir

    (@rtahir)

    Thanks but it does not seem to work. I have aggeg it as a link and getting the message:
    “HTTP Error 404.0 – Not Found
    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.”

    There must be more to it than that.

    Try!

    <a href="<?php bloginfo('rss2_url'); ?>RSS Feed</a>
    <a href="<?php bloginfo('comments_rss2_url'); ?>Comments RSS Feed</a>

    Linked Image

    <div class="rss-feed">
    	<a href="<?php bloginfo('rss2_url'); ?>" target="_blank">
    	<img src="<?php get_template_directory_uri(); ?>/images/rss.png" style="width:16px; height:16px;" alt="RSS" />
    	</a>
    </div>

    Make it tidy
    Create a file rss-1.php add the Linked Image code above and save.

    To call the file add in your theme , header.php, footer.php or any other file.

    <?php /* Add RSS Feed Icon */ ?>
    <?php get_template_part( 'rss',1 ); ?>

    HTH

    David

    esmi

    (@esmi)

    Site url?

    Esmi,
    Looks like your link was missing the /home/ before feed?

    Bloginfo returns all you need!

    rss2_url = https://example/home/feed
    rss_url = https://example/home/feed/rss
    comments_rss2_url = https://example/home/comments/feed

    Site URL?
    Was

    bloginfo('wpurl');

    Now Use

    site_url();

    HTH

    David

    HigherImpact

    (@higherimpact)

    I am using a Lysa theme for a client and there is no rss image? I have the Feedbuner FeedSmith plugin but there is no rss image on the blog itself. I had to add one in the follow me plug in. Is there a way to add on to the theme?

    Thread Starter rtahir

    (@rtahir)

    David,
    I am not sure how to apply your code. I get that I need a rss-1.php file with your code in it, but where to put the first two lines you mentioned:
    RSS Feed
    Comments RSS Feed

    and where (in the header to put the last 2 lines in your post:
    <?php /* Add RSS Feed Icon */ ?>
    <?php get_template_part( ‘rss’,1 ); ?>

    I like the RSS stuff to show at the top of the header. My header code is:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Your help is very much appreciated.
    Ruben

    Hi Rtahir,

    I think others may want to know how to do this so I created a quick tutorial, there is evan a twenty ten theme with the changes to download from the post.

    Add RSS Icons to the twenty ten theme

    Enjoy

    David

    Thread Starter rtahir

    (@rtahir)

    This is great, David.
    Just one comment: I have added a title=”xxxx” to each icon to explain its purpose to the uninitiated.

    Thanks again.

    Onecreativeguy

    (@onecreativeguy)

    Really novice question: I’m looking at the code in your tutorial David. Where do I enter that settings? Yes, I’m really new to this but feeling adventurous.
    Thanks…Larry

    I’ve just checked a few of my sites running WP3.0.4 and Twenty-Ten and all of them have invalid RSS feeds.

    I’ve checked them via https://feedvalidator.org

    This would appear to be a Twenty-Ten theme issue as I don’t have the issue with any of my other sites running different themes.

    Answering my question above, I determined the reason I’m getting a 404 Not found is that the sites I’m checking have no posts, only pages.

    BTW, this behaviour appears to be theme independent.

    I guess the remaining question is should there be an RSS feed for pages?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘RSS Twenty Ten’ is closed to new replies.