• I am having a problem on the correct way to write this function here it is <?php wp_list_cats('optioncount=1&optiondates=(d/m/y)&exclude=2'); ?> what i am doing is limiting what catagories show up but I want a date stamp next to my showing catagories and im not sure what I am doing wrong any help is apreciated thx.

Viewing 2 replies - 1 through 2 (of 2 total)
  • optiondates=1

    It’s just a flag on whether to display the date (1) or not (0). It isn’t a format definition.

    From Codex on wp_list_cats():
    optiondates
    (boolean) Sets whether to display the date of the last post in each category. Valid values:

    * 1 (True)
    * 0 (False – default)

    -tg

    Thread Starter jamesgraham2k1

    (@jamesgraham2k1)

    If you go to my site you will see what it is doing to my site the way I have it written. https://www.grahamfamilytx.net I want to exclude catagory 2 and have the date and post count show on the displayed catagory.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Coding question’ is closed to new replies.