Forums Forums Search & Filter Pro HTML label instead of headline (h3,h4)

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #219940

    How to change the Headline to a html label? And what is your reason to not doing this? Is it bad practice with the screenreader support you’re also delivering?

    Found the place to change, but don’t know how to get the “for” value into that bracket

    File: public/includes/class-search-filter-display-shortcode

    Trevor
    #219941

    This is something that you can change only be editing our code code (not recommended), or using JavaScript to change (but be aware you may need to do this also after Ajax triggers if you have Auto Count enabled, for which we have a sample code snippet).

    V3 of our plugin (no fixed ETA, but some months away yet) should address this issue.

    The snippet:

    <script>(function ( $ ) {
      "use strict";
      $(document).on("sf:ajaxformfinish", ".searchandfilter", function(){
        console.log("ajax complete");
    
    // call your function or here
    
      });
    }(jQuery));</script>
Viewing 2 posts - 1 through 2 (of 2 total)