Results 1 to 7 of 7

Thread: Still a problem with Category dropdown on Post an Ad

  1. #1
    Thread Starter
    mouse's Avatar
    Join Date
    Oct 2012
    Location
    United States
    Posts
    67
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Still a problem with Category dropdown on Post an Ad

    I have just upgraded to WordPress 4.2.2 and Classipress 3.4.1. On the Post an Ad page, the category dropdown selector has disappeared. I checked the forum and found the April post concerning this problem to go to classipress/includes/categories.php and replace

    PHP Code:
    $categories get_categories$r );
            
    $name esc_attr$name );
            
    $class esc_attr$class ); 
    with

    PHP Code:
    unset( $r['name'] );
            
    $categories get_categories$r );
            
    $name esc_attr$name );
            
    $r['name'] = $name
    This is what I am seeing on the categories.php page at line 120:

    PHP Code:
    // TODO: remove dirty fix, consider to use 2 parames array: one for
            // get_categories() another for cp_category_dropdown_tree()
            
    unset( $r['name'] );
            
    $categories get_categories$r );
            
    $name esc_attr$name );
            
    $r['name'] = $name;
            
    $class esc_attr$class );
            
    $id $id esc_attr$id ) : $name
    So - I'm not sure what to replace if anything - at any rate - it's not working!

    Thanks for your help
    Mouse

  2. #2
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,100
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

  3. #3
    Thread Starter
    mouse's Avatar
    Join Date
    Oct 2012
    Location
    United States
    Posts
    67
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,100
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

  5. #5
    Thread Starter
    mouse's Avatar
    Join Date
    Oct 2012
    Location
    United States
    Posts
    67
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    Thread Starter
    mouse's Avatar
    Join Date
    Oct 2012
    Location
    United States
    Posts
    67
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,100
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Samcy Post an Ad - Category Dropdown Problem ...
    By plusfone in forum Help Using ClassiPress
    Replies: 56
    Last Post: July 22nd, 2015, 01:38 AM
  2. category, post ads, images problem
    By myanmarads in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: October 21st, 2011, 06:14 AM
  3. Category Dropdown Problem. Please Help Me
    By rejja in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: June 14th, 2011, 10:25 AM