WordPress.org

Support

Support » Requests and Feedback » link to feed in category archive page

link to feed in category archive page

Viewing 3 replies - 1 through 3 (of 3 total)
  • Please please forgive me for following up to this post, but I can’t find the “post” button *anywhere* to start a new thread! Is it just me? I am having that problem in both Safari and Firefox! Obviously some people, such as carnaticwm, have found it!

    Anne

    How to start a new thread:
    1) goto http://wordpress.org/support/
    2) there are 3 sections: Hot Tags, Latest Discussions, Forums
    3) select the right forum where you want to start a new topic
    4) you will be at http://wordpress.org/support/forum/4 – if you clicked on requests and feedback
    -> all the fresh topics are displayed on the top
    -> “New Topic in this Forum” section is below these fresh topics

    Maybe it is hard to “start a new topic” because ..Before posting a new topic, be sure to search to see if one has been started already..

    If you are using nice permalinks, I have an automatic way to put feed links on each archive pages. Instead of writing-out the text for the feed as suggested above, try using the following code:

    <a href="feed:<?php bloginfo('url'); ?>/category/<?php echo single_cat_title(); ?>/feed/"

    For example, if you have a category called “Books” the link above should automatically produce the link for:

    feed://www.example.com/category/Books/feed/

    Obviously if you set up your permalinks differently for categories, then you have to customize it accordingly. I’m not sure how it would work using the default links.

    Now, this has a minor glitch in that when you click a date-based category and then click the feed link, it defaults to the Atom feed for the entire site. Harmless, but it may be annoying to you.

    Maybe someone else can tell me how to use an If..else argument to get the feed link only on category archives? I’m actually a newbie to coding.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘link to feed in category archive page’ is closed to new replies.
Skip to toolbar