WordPress.org

Forums

want rss feed to display most recent post for specific category (1 post)

  1. creed3000
    Member
    Posted 2 years ago #

    hello
    im wondering if the number of post shown for specific category rss feed can be controlled & if so how to do it.

    in the dashboard > settings > reading settings >
    Syndication feeds show 12 of the most recent post.

    this is fine for most of my categories, however i do have several categories that i would only want to display only the most recent post ( show 1 post ). i dont know if im going about it the wrong way .. ive tried dealing with the rss code itself but my attempts have failed ... over & over again !!!!!!!

    here is an example of an rss feed ( ive tried lots ) it shows the 12 post
    http://psychic3000.com/wordpress/?cat=436&feed=rss2

    so can this be done
    only show 1 post for target category
    if so what is the best way of doing it ?
    A) directly with rss feed ( provide example )
    B) some edit in my child theme ( provide example )

    /*
    Child Theme: twenty child 1
    Theme URI: http://www.psychic3000.com/
    Description: Child theme for the Twenty Eleven theme
    Author: Creed masters
    Author URI: http://www.psychic3000.com/
    Template: twentyeleven
    Version: 3.4.2
    */

    my website > http://www.psychic3000.com
    My blog > http://www.psychic3000.com/wordpress

    im new but learning lots
    however still need step by step guidance
    i would welcome & be thankful for any help !!

    [ Please do not bump, that's not permitted here. ]

Topic Closed

This topic has been closed to new replies.

About this Topic