[Support request] Set categories to static pages…. lost category feeds

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Set categories to static pages…. lost category feeds

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #34638
    Chris
    Participant

    Hi,

    So I wanted to use Show Posts on my category pages, and followed the documentation here:

    https://docs.wpshowposts.com/article/use-static-pages-as-category-archives/

    That worked… however, I just realized I lost my category feeds when that was implemented. And I need them…

    Is there a way to use static pages, while still having the category feeds work?

    I’ve tried the feeds with both the permalink urls and with parameters (?category_name=news&feed=rss), both render the category page rather than the feed,

    Chris

    #34706
    elvin
    Moderator

    Hi Chris,

    That code’s specific purpose is to replace the default archive page of categories to static pages.

    It bypasses how the default works so that gets affected as well.

    If I may recommend, instead of using that PHP snippet, you may want to consider replacing your archive’s loop with WPSP so it still honors permalinks (and its URL params)

    This is possible with a help of child theme templates or if your current theme has a filter that allows you to replace its default loop with any loop.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.