Support » Fixing WordPress » RSS count posts : HOW?

  • In my RSS feed, for example in a custom conditional URL:
    domain/?m=20130407&feed=rss2&cat=3

    I’m getting all my required tags, after editing wp-includes‘ file feed-rss2.php

    With pagination enabled using &paged=# I can get into any pages within it. But when I get into a dead-end, it typically generates a ‘not found’ page.

    Now my pagination is enabled showing 10 posts per page. So when cat=3 has 15 posts, on first page it’s showing 10, on second it’s showing 5, and on third page it’s showing a ‘not-found’ page.

    So, now I’ve to count how many posts found under this custom URL.
    How can I do this?

Viewing 1 replies (of 1 total)
  • Never ever edit WordPress core files. It can result in unpredicted results and it will open up security risks. Nor you should encourage others to do so. Instead use a plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘RSS count posts : HOW?’ is closed to new replies.