WordPress.org

Support

Support » How-To and Troubleshooting » Generate category/search feed URLs?

Generate category/search feed URLs?

  • Is there a function to generate the URL to the feeds for categories? I wanna do like Currently viewing all posts in the category "foobar" -- feed for this category.

    I’d rather not have to manually create them if I don’t have to as I’m using a base URL and I can’t just do <a href="feed/">feed</a>.

    If I am stuck manually doing so, is there a variable that’s set to the stub name for a category? I know $cat is the category ID…

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Generate category/search feed URLs?’ is closed to new replies.
Skip to toolbar