Searchbox “does not appear”
-
Hello,
Since my latest update of ColorMag and WordPress core, my searchbox seems not to appear.
When I debug colormag-custom.js on Chrome Browser, I actually notice that the searchbox appears but disappears because of the “hideSearchForm()” method being always called.jQuery( document ).on( 'click.outEvent', function ( e ) { if ( e.target.closest( '.top-search-wrap' ) ) { return; } hideSearchForm(); // Unbind current click event. jQuery( document ).off( 'click.outEvent' );Another strange thing is, whenever I try to comment this line in my file in order to test, the change does not occure. The line is still there.
Thank you for your help and best regards,
altins.EDIT : Problem is solved, quoting the hideSearchForm method and disabling caching for the changes to be taken into account worked.
However, I think this part of the code -in my humble opinion- deserves a review.- This topic was modified 6 years, 9 months ago by .
- This topic was modified 6 years, 9 months ago by .
The page I need help with: [log in to see the link]
The topic ‘Searchbox “does not appear”’ is closed to new replies.
