Create Category as a Page in WordPress
Posted on April 20, 2007
Once you get used to working in WordPress, you’ll find it pretty easy to customize. One nifty way to populate pages that are updated from your blog is to break-out your posts into four our five main categories. Then you can hard-code those pages into your main menu. This will make management of your site super slick.
Once you have identified each of those categories:
- Log into your WordPress admin
- Click on Presentation Tab
- Click on Theme Editor
- Under Theme Files, click on Header
- scoll half way down until you see: <div id="navigation">
<ul>
<li <?php if(is_home()){echo ‘class="current_page_item"’;}?>><a href="<?php bloginfo(’siteurl’); ?>/" title="Home">Home</a></li>
<li> - Add a <li> tag to insert a link (the <li> tag is for list items).
- Insert a hyperlink:
<a href="http://www.yourdomain.com/category/
nameofcategory/">nameofcategory</a>
(The first name of category must match. If you want to rename what shows on the link to shorten it, the second one can be anything you want it to be). - Close the tab with </li> (this tag closes the list item).
- Repeat this for as many categories as you like. A good rule of thumb in web design is to have seven or less main links.
Let me know if this is helpful or if you need clarification.
Filed Under Web and Tech Helps, WordPress |
Related Posts
- Handy WordPress Hacks
- How Well Does WordPress Measure Up?
- TechFires.com Ignites
- Powerful WordPress Include Hacks
- Post to Blog from MSN Messenger with Plug-in
- Checklist for Setting Up a WordPress Website
- Rule of Thumb: Three or More for Categories
Comments
2 Responses to “Create Category as a Page in WordPress”
Leave a Reply




This one’s a great post too. I have lots of homework now. But I’m out in dial up land until tomorrow so can’t start working on it. I can’t figure out how people actually live like this!
I like how you have the advertising set up too…
Kelly, very glad these tutorials are hitting the mark for you. There are so many aspects to setting up a blog that are more time consuming but aren’t that tough wants you know where to look. You are going to do great.
Thanks also on the comment about the ads. I really do appreciate the feedback.