Category Thumbnail Link
-
Hi all,
I am setting up a site for a company that produces television commercials. They want to be able to have their videos split by both genre and the director who worked on the piece. I thought the best way to go about this would be to use categories i.e. have 2 master categories – genres and directors to which child cats such as Drama, Animation or the directors names could be added.
When the user clicks on the main nav button Genres, for example, I would like to have a ‘grid view’ of all the genre child categories each with an associated thumbnails that link to all the post within each of these child categories.
I found this snippet in the codex:
<ul> <?php wp_list_categories('orderby=id&show_count=1 &use_desc_for_title=0&child_of=8'); ?> </ul>
This outputs the child categories that I need but I was wondering if anyone knew how I could get a thumbnail to appear too?
I recall using the ‘the_author’ tag once to display a jpg to show a profile photo next each post created by an author (the jpg file name had to the same as the authors’ name) and thought something similar could be used here. I just have no idea how to go about it :-S
Any help, as ever, would be greatly appreciated.
Cheers.
- The topic ‘Category Thumbnail Link’ is closed to new replies.