Forums Forums Search & Filter Pro non breaking space, html entity within drop down list for Categories

Viewing 10 posts - 1 through 10 (of 11 total)
  • Anonymous
    #180306

    HTML entity for breaking space is displayed in the All Categories drop down list.
    Refer to screenshot at the following URL:

    https://trello-attachments.s3.amazonaws.com/58794f38bfd532d6135f4f85/5b1e88c39d744e80246a3ed0/3e6490cd2192dd1a90e82d8297cb9c23/n.JPG

    Trevor
    #180333
    This reply has been marked as private.
    Anonymous
    #180403
    This reply has been marked as private.
    Trevor
    #180409

    Ok, I will wait for you to check your added coding, as that is what it looks like.

    Anonymous
    #180431
    This reply has been marked as private.
    Trevor
    #180461
    This reply has been marked as private.
    Anonymous
    #182194

    Hi,

    We noticed that this line in file “/public/includesclass-search-filter-taxonomy-object-walker.php”
    is contributing to the issue.

    Line 345

    $option->label .= '  (' . number_format_i18n($option_count) . ')';
    

    After removing the ” ” the non-breaking spaces were no longer an issue in the display.

    Is there a way for you to make this correction in your code?

    Trevor
    #182222

    Those spaces would be there to provide visual nesting of child terms within parents terms.

    Trevor
    #182241

    Hi

    You appear to be using the Chosen combobox script, which might be the cause. Unless you need to use Chosen, can you try using Select2 instead?

    Go to WP Admin -> Search & Filter -> Settings and you will see it there.

    Anonymous
    #182485

    Hi,

    What is the difference between Chosen and Select2?

Viewing 10 posts - 1 through 10 (of 11 total)