How to create a horizontal menu of "categories" in wordpress?


Im setting up a new blog for my course, as part of the course requirement… Im designing my own template just to make it unique and so far everything is working perfectly :slight_smile:

However, since we will have to add blog posts for each module we do, I want to create a “page” of blog posts for each module/unit of the course (ie. UI design, Cultural Referencing, Website management), rather than having all of my blog posts on one page… Im figuring this is probably best done with “categories” rather than “pages”, and adding each post to its relevant category?

What I would like to do is just create a bog standard list of <a> tags floated left, margin right etc (just a horizontal line of links), which refer to the categories… For example, if i add a new category, a new link will appear, and when that link is clicked it takes the user to a page of all the blog posts inside that category…

Can anyone point me in the direction of how to do this?

anyone ? :frowning:

I think ive found the <ul><?php list_categories(); ?></ul> which will list the categories, now im curious how to make these links to the category page? would it be something like


<a href=“<?php the_permalink() ?>”><!?php wp_list_categories(‘show_count=0&title_li=&hide_empty=0&exclude=1’); ?></a>


anyone please?

I am not sure if I get you question properly, but what i understood that you are looking for a individual category pages with Blog Posts listed. This depnds on the theme you are using because WordPress got this features to show category listing by default. when a viewer clicks on a link to one of the Categories on your site, he or she is taken to a page listing the Posts from that particular Category in chronological order, from newest Posts at the top to oldest at the bottom. There are many display choices, including whether to display the complete post or post excerpts, and what additional information to display (title, author, publish date, last modified time, etc.). Each theme makes different choices, and you might want to change them. read this: &

Yeah youve got the idea of what i want to do right but i am not using a pre-made theme, i have coded my own theme so im asking more on the php tag side of things