Forums › Forums › Search & Filter Pro › SFP Not Displaying CPT Results
- This topic has 13 replies, 2 voices, and was last updated 4 years, 10 months ago by
Trevor.
-
Trevor(Private) December 8, 2020 at 12:58 pm #269080
I can see a JavaScript error in this file:
http://accd-cmtel.net/wp-content/themes/werkstatt/assets/js/app.min.jsIn a minified file, it is difficult to find the error. How old is this theme? I ask because I see these two strings in that file:
.btn[href*=#]
.button[href*=#]Which are coded incorrectly, and should be:
.btn[href*="#"]
.button[href*="#"]I think. This/these errors are halting JavaScript on the page. Most themes fixed this coding issue (the old code was fine with the previous version of jQuery) 3 or more years ago, so this is very strange to see it still being used.
Anonymous(Private) January 13, 2021 at 12:00 am #272600Hi Trevor,
I am checking back with you since my last post.
In addition to changing the code in app.min.js I’ve updated both WordPress (to 5.6) and the Werkstatt theme (most current 4.6.3.3). I’ve also made styling changes to the displayed search form and blog posts; the results page is the same as before.
The two problems are: 1) The search form filter is not detecting registered taxonomies; 2) The post grid (using Search & Filter as the data source) will not display any posts, only a stuck animated ellipsis. I’ve rebuilt the cache in SFP and the index in Relevanssi with no change. Do you have any suggestions for how I might proceed?
Regards,
Marshall -
AuthorPosts