WordPress.org

Ready to get started?Download WordPress

Forums

RSS for a custom query (that lists posts on a WP Page) (6 posts)

  1. michuk
    Member
    Posted 7 years ago #

    In a recent thread "Paged posts on a WordPress Page": http://wordpress.org/support/topic/94838?replies=5 you helped me to prepare a custom page that lists posts which fulfill some condition (I used a custom query for that) and are paginated at the same time (I prepared my own pagination mechanism for that).

    Now I need an RSS thread that lists the recent posts that appear on this page. The page address is: http://my_site/news/. I would like http://my_site/news/feed/ to be a custom RSS feed that lists the posts from this page. How do I do it? Currently http://my_site/news/feed/ causes a 404 error.

  2. michuk
    Member
    Posted 7 years ago #

    Nobody?...

  3. MikeCherim
    Member
    Posted 7 years ago #

    Would this help you (I'm thinking it might):

    http://wordpress.org/support/topic/95520

    Mike

  4. michuk
    Member
    Posted 7 years ago #

    RSS is not mentioned on that thread at all.. I don't have a problem with listing posts on a WP Page. I just don't know how to have a nice RSS for this page.

    By the way, I kind of solved this issue with adding a filter on where and join for a specific page stub (using $_SERVER['REQUEST_URI']), but that's an ugly hack...

  5. MikeCherim
    Member
    Posted 7 years ago #

    I know RSS wasn't mentioned, but I thought you apply the fix all the same.

  6. michuk
    Member
    Posted 7 years ago #

    No, not really. I'm displaying the posts on a WordPress Page, not on a category page. This is a big difference. I managed to display it fine. Just need to apply the same trick for RSS but I don't know all the handles.

Topic Closed

This topic has been closed to new replies.

About this Topic