- This topic has 1 reply, 2 voices, and was last updated 6 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › HTML label instead of headline (h3,h4)
Tagged: V3
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
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>