Forum Replies Created

Viewing 5 replies - 61 through 65 (of 65 total)
  • Resolved using wp_list_categories and category specific template

    Thread Starter rwwood

    (@rwwood)

    Thanks. I’ll give that a try, but I think I finally found what I want by using a category specific template and wp_list_categories. That gives me a listing of Booklet Titles as links, which can then take the user to the booklet itself.

    Thanks again.

    Thread Starter rwwood

    (@rwwood)

    I still don’t think that I’ve been able to communicate what I’m looking for. I’m not looking for a list of POSTS, rather a list of CATEGORY NAMES, whether they contain posts or not, and only direct children of the parent category, without grandchildren, or at least with grandchildren displayed below the corresponding parent, similar to the way I have it outlined in the first post in this thread.

    I know I could tweak the category template to display just titles, but they are all mixed irrespective of what parent they have and without any break in the list to indicate what parent they have, and that’s ok if a post can be categorized, for example, as a Ford (parent category) and a Mustang (child category) and a 1968 Mustang (grandchild category), but doesn’t work for the Booklets/Booklet Title/Chapter Title scenario that I’m trying to accomplish.

    Thanks.

    Thread Starter rwwood

    (@rwwood)

    The problem that I have is getting any link for the “Booklets” category in the Sidebar dropdown list due to the fact that “Booklets” has no actual posts, but is just a parent to the booklets themselves. Apparently empty categories don’t get listed, even if they’re parents to categories that do contain posts.

    I’ve tried setting the hide_empty argument for wp_list_categories to “0” (false), but that hasn’t seemed to change anything.

    I guess, after researching and doing more reading on the forums and in the docs, that I’m looking for a listing of sub-category names, not the posts that are in those sub-categories so that a reader could drill down from “Booklets” to “Booklet 1” to “Chapter 1”.

    Thanks.

    I’m new to WP. Where does the above code get put? Do I need to make a separate template for it, and if so, how do I specify a particular category to use that template? If there are docs to guide me through this, a URL would be appreciated.

    Thanks.

Viewing 5 replies - 61 through 65 (of 65 total)