I write a new post and put it into a category (i.e. Music) and then when i click on my Music Page, its blank
That shouldn’t happen. When you click the category you should see all posts in that category.
Try first switching to the Twenty Ten theme and try again to rule out a problem with your theme files.
I’d also suggest that you avoid giving Pages, Tags and Categories the same names.
I’m using the Twenty Ten theme.
If i click on the music page, the url is example.com/music
but the post i made in music is example.com/category/music
thnx
Posts are listed in Categories – not Pages – by default.
So how do i make it so a list of the music posts will appear on a Music page?
WordPress does this automatically, Try clicking on the category link in any one of your existing posts.
You mean that you want a page with some information at the top and then below that a list of your music posts?
As esmi says, posts are listed on the dynamically generated cateorry page by default – not a WordPress Page you created. (Sorry, I read your initial post too quickly.)
One easy workaround is to use the category description field to add the info you want to appear above the list of posts. Then add a line to your category.php to display the category description.
<?php echo category_description(); ?>
Don’t edit the default Twenty Ten theme, though, or your changes will be overwritten when there’s an update – create a child theme instead.
Ok so how can i get that link to show as a Category at the top of my website?
It sounds to me like maybe you want your categories to appear in your horizontal navigation bar. In which case I suggest you take a look at opening up your header.php where this is found and swapping wp_list_pages for wp_list_categories?
@ganners: That’s bad advice. You shouldn’t edit Twenty Ten!
@fangedfreak: Navigate to Appearance->Widgets and drop the Category widget into the primary sidebar.
@ganners Yeh i want my categories in the horizontal navigation bar
@esmi thanks but like i said above.. want them in the navigation bar
@zoonini thanks for the link
Yeah sorry, that is true, If I am correct in suggesting you want the categories to appear in the horizontal bar then I suggest duplicating twenty ten, renaming the folder and rename the theme in styles.css.
You can also go into Appearance > Menus – and set your desired categories to appear in the navbar there. No theme editing required.
@zoonini
Thanks for the tip about menus, i’ve put my categories in a new Menu but i dont see how i can make it work?
Sorry… dont have any experience of using WP from scratch
I don’t have Twenty Ten installed anywhere myself, but I assumed it came with a default menu? You’ll need to edit the existing menu, not create a new one.