FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


PHP help: Categories > Archives





S3nd K3ys
In my blog I have categories ("Areas of Interest") with a post count for how ever many posts in that category.

My archives ("The Timeline") does not display a post count. I tried similar code from categories but can't get it to work. Here's the code for the archives...

Code:
         <li><h2>The Timeline</h2>
            <ul>
            <?php wp_get_archives('type=monthly'); ?>
            </ul>
         </li>



and the code for the categories...

Code:

         <li><h2>Areas of Interest</h2>
            <ul>
            <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
            </ul>
         </li>


optioncount=1 does not work in the archives code. Is there a different function to get it to work there?
Related topics
PHP Help please
Some php probs..need some help plzz!
Need some php help.
Help setting a css for the sidebar : Blog
Need Expert help in php-mysql
Help with php email
Mysql And PHP HELP PLZ
How To : Improve Your PHP Programming
PHP Help Needed
can you help me?
[PhP] News Posting Tutorial (code, actually ^^')
A Simple Form Mail in PHP
site colse/open with php
mysql/php help please
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.