Add label to advanced search filter list

This topic contains 3 replies, has 3 voices, and was last updated by  Tilen 4 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #528554

    Tilen
    Expired Member
    Post count: 120

    Hello,

    can you help me please with code correction?

    I want to add label to checkboxes in /geodir_advance_search_filters/includes/template-functions.php in line 339

    
    echo '<li ' . $classname . '><input type="checkbox" class="cat_check" name="s' . $taxonomy_obj->htmlvar_name . '[]" ' . $geodir_search_field_selected_str . ' value="' . $term->term_id . '" /> ' . '<label>' .__( $term->name, 'geodirectory' ).'</label>'  . '';
                            $increment ++;
    

    But is not working like it should – checkobx can’t be checked, structure of html is now like I want it to be:

    
    
  • <input type="checkbox" class="cat_check" name="stip_ponudbe[]" value="Name of category"> <label>Name of category</label>
  • Thanks for your help,

    A

    #528605

    Alex Rollin
    Moderator
    Post count: 27815

    Thanks for writing in, the developers will take a look asap.

    #529923

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Tilen,

    label is already added in advance search checkbox. do you have updated version of advance search addon.

    Thanks

    #530405

    Tilen
    Expired Member
    Post count: 120

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket