Results 1 to 4 of 4

Thread: Hide Child Categories

  1. #1
    Thread Starter
    facultyoc's Avatar
    Join Date
    Oct 2011
    Location
    United States
    Posts
    229
    Thanks
    2
    Thanked 1 Time in 1 Post

    Hide Child Categories

    I have been able to hide the child category while it is empty but once a job is added to the child it becomes visible. Using wordpress 3.6.1 with jobroller 1.7[PHP]
    <?php

    $args = array(


    'orderby' => 'name',
    'show_count' => -1,
    'hierarchical' => 0,
    'taxonomy' => 'job_cat',
    'title_li' => '',
    'exclude' =>'23,25',
    'order' => 'ASC',
    'depth' => 0,

    'walker' => 'Walker_Category' );

    $job_cats = get_categories( $args );

    'walker' => 'Walker_Category' );


    $job_cats = get_categories( $args );
    /PHP]

    Any help will be greatly appreciated as I have tried a million different options..

  2. #2
    Thread Starter
    facultyoc's Avatar
    Join Date
    Oct 2011
    Location
    United States
    Posts
    229
    Thanks
    2
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,978
    Thanks
    170
    Thanked 3,407 Times in 3,278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  4. #4
    Thread Starter
    facultyoc's Avatar
    Join Date
    Oct 2011
    Location
    United States
    Posts
    229
    Thanks
    2
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. hide categories with in the post
    By citydealz in forum ClassiPress General Discussion
    Replies: 4
    Last Post: March 29th, 2015, 11:37 PM
  2. Hide the categories
    By giuseppe in forum ClassiPress General Discussion
    Replies: 2
    Last Post: February 24th, 2012, 03:57 AM
  3. Hide Empty Child Categories
    By musserv in forum Report ClassiPress Bugs
    Replies: 19
    Last Post: February 19th, 2011, 05:11 AM
  4. How do I hide 3rd level categories?
    By anc_lux in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: September 19th, 2010, 05:28 PM