Results 1 to 3 of 3

Thread: Help display in 3 colum table

  1. #1
    Thread Starter
    Junior Member sick's Avatar
    Join Date
    Mar 2012
    Location
    United States
    Posts
    29
    Thanks
    4
    Thanked 4 Times in 2 Posts

    Question Help display in 3 colum table

    I need help displaying categories in 3 column table. here is the code that i got from the jobroller side bar i have no idea where to begin as i am so new to php it a shame. All help is much appreciated. Thanks iun advance for any help

    PHP Code:
    // By Cat
            
    $args = array(
                
    'hierarchical'       => false,
                
    'parent'             => 0,
                
    'hide_empty'         => (int)get_option('jr_show_empty_categories'),
            );
            
    $terms get_terms'job_cat'apply_filters('jr_nav_job_cat'$args) );
            if (
    $terms) :
                        echo 
    '<li><a class="top" href="#open">'.__('Job Category''appthemes').'</a> <ul>';

                        foreach(
    $terms as $term):
                            echo 
    '<li class="page_item ';
                            if ( isset(
    $wp_query->queried_object->slug) && $wp_query->queried_object->slug==$term->slug ) echo 'current_page_item';
                            echo 
    '"><a href="'.get_term_link$term->slug'job_cat' ).'">'.$term->name.'</a></li>';
                            
                            if ( ! 
    $term->count ):
                                 
    //    echo terms childrens
                                 
    $children get_term_children($term->term_id'job_cat');
                                 if ( 
    is_array$children ) ) foreach($children as $child):
                                         
    $child_term get_term_by('id'$child'job_cat');
                                        echo 
    '<li class="page_item page_item_children ';
                                        if ( isset(
    $wp_query->queried_object->slug) && $wp_query->queried_object->slug==$child_term->slug ) echo 'current_page_item';
                                        echo 
    '"><a href="'.get_term_link$child_term->slug'job_cat' ).'">- '.$child_term->name.'</a></li>';
                                 endforeach    ;    
                                 
                            endif;
                            
                        endforeach;

                        echo 
    '</ul></li>';
            endif; 

  2. #2
    evertsemeijn's Avatar
    Join Date
    Jan 2011
    Location
    Amsterdam, The Netherlands
    Posts
    103
    Thanks
    0
    Thanked 12 Times in 12 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    We do more than JobRoller childthemes at FourLeafed.com

  3. #3
    recoilwebdesign's Avatar
    Join Date
    Feb 2013
    Location
    United Kingdom
    Posts
    21
    Thanks
    1
    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. table not shown
    By detao in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: October 20th, 2012, 10:25 AM
  2. Replies: 3
    Last Post: July 31st, 2012, 02:44 PM
  3. [SOLVED] Admin Table Width data base cant find the table
    By testfinder in forum Report ClassiPress Bugs
    Replies: 6
    Last Post: December 5th, 2011, 07:49 PM
  4. Display cp_sys_userIP in backend ads table
    By reyvax in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: June 24th, 2011, 12:19 PM
  5. Categories -> next colum
    By procyon in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: December 29th, 2010, 05:02 PM