WordPress.org

Forums

URL to get category list? (4 posts)

  1. amer1749
    Member
    Posted 1 year ago #

    Is there a URL that would show the list of categories? To be clear, I am not looking for PHP code that would show the list of categories on my WordPress page; I want to pull the list of categories into a frame on another site, and -- especially since I can't do any server-side scripting in the CMS I have to use -- the simplest way is a URL (if there is one).

  2. Courtney Engle Robertson
    Member
    Posted 1 year ago #

    http://codex.wordpress.org/Linking_Posts_Pages_and_Categories

    It will look like http://courtneyengle.com/category/wptips/ or whatever your naming convention is.

    http://codex.wordpress.org/WordPress_Feeds#Categories_and_Tags describes how to use the RSS of a specific category as well (if your pulling includes titles of posts)

  3. amer1749
    Member
    Posted 1 year ago #

    Thanks, Courtney, but that's not what I meant. The instructions and example you provide are how to get a list of posts within a specific category with a URL. What I'm after is a way to get a list of all my categories by URL -- no posts at all, just the list of categories.

  4. Courtney Engle Robertson
    Member
    Posted 1 year ago #

    The widget for categories will work on site. I don't know of an easier way to auto-update them onto the 2nd site.

Topic Closed

This topic has been closed to new replies.

About this Topic