Wordpress Category Question

Discussion in 'WordPress' started by Cboyce, Feb 22, 2008.

  1. #1
    Hey,

    I'm trying to create a list of child categories when your on the parent category within wordpress.

    IE. Parent category: Multimedia
    CHild Categories: Digital Cameras, Software, Mobile Phones, Laptops

    ----------------------------

    Now when im on domain.co.uk/category/multimedia

    I'm trying to create a submenu with the child categories at the top of this page it's proving difficult when i make it dynamic.

    Like wordpress has this function;

    
    <?php wp_list_categories('orderby=id&show_count=1
    &use_desc_for_title=0&child_of=3'); ?> 
    
    PHP:
    i need to fetch the category ID and insert it to where child_of is.

    Anyone has any ideas?
     
    Cboyce, Feb 22, 2008 IP
  2. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #2
    Yes wp has sub category but u need to post atleast one post in that category coz one by one all these subcategories and categories will be appeared in ur blog.

    write post and then refresh ur browser cookies and see it will appear

    iF U need more help u can ask me via pm
     
    Jalpari, Feb 24, 2008 IP