ThemeShaper Forums » Thematic

Categories Again!

(3 posts)
  • Started 12 years ago by cregy
  • Latest reply from cregy
  • This topic is not resolved
  1. Hi

    I have been using Commune as a theme. It uses a bit of php from here:

    It got me thinking about the way they are using images for categories and thought of a possible idea. I don't know if it is possible and thought I would ask here. The idea is that every category is represented by an image as above with each image being displayed in a page called 'Category'. So you would have a page of boxes all associated with an image. If you click on an image and there are sub cats you are then take to the sub cats. If it takes you to posts then the posts are displayed as a box as well. Click on the box and the post is then opened. This is essentially what I am doing here. I'm doing it by hard coding it into the page.

    Is it possible please?



    Posted 12 years ago #
  2. Hey Rich,

    I read your post and I'm still thinking about a solution .. the top level categories are pretty simple .. but the next level categories .. need to do some tests.



    Posted 12 years ago #
  3. Hi Chris

    I've been trying to work with this code:
    foreach((get_the_category()) as $cat)
    echo $cat->category_nicename;

    I got it from this post:

    It's difficult trying to work out where to go from here! Any thoughts please?



    Posted 12 years ago #

RSS feed for this topic


You must log in to post.