Home › Forums › Calendar Products › Filter Bar › Filter Bar Theme Conflict, but What?
- This topic has 11 replies, 3 voices, and was last updated 9 years, 1 month ago by Brian.
-
AuthorPosts
-
February 17, 2015 at 5:24 pm #943199cityparksfoundationParticipant
Hello – I’m having an issue with the Filter Bar functionality in my custom theme. The FB is there and displays all of the desired filters, but when you click on one Filter category’s checkbox, it checks, but then goes dead and you can’t uncheck the one you’ve checked, nor can you check any other filter categories. Here is a link so you can see what I mean:
http://qa-cityparksfoundation.flywheelsites.com/events/
Upon switching to WP’s twentyfourteen theme, the FB works as it should. I replaced our custom header.php with the twentyfourteen header.php, but no luck. I tried the same thing with footer.php. There are no scripts in the body of the One Column template I’m using to house the Events page, so there shouldn’t be any conflicts there. I also disabled all plugins and got the same erroneous behavior.
I am stumped. Any help would be appreciated. Thanks!
February 18, 2015 at 7:44 am #943311BrianKeymasterHi,
Sorry for the issues you are having.
I can help troubleshoot them with you.
I took a look at your site and see this error in the console:
TypeError: pcontent is null
http://qa-cityparksfoundation.flywheelsites.com/wp-content/themes/cpf.sd.custom.full/scripts/js/dddropdownpanel.js
Line 118Fixing that error in your theme should enable the Filter Bar to work.
Let me know if that resolves the issue or we can go from there to resolve this.
Thanks
February 18, 2015 at 8:57 am #943341cityparksfoundationParticipantHi, Brian –
Thanks for your reply. Unfortunately taking the script in question out altogether doesn’t fix the issue. This particular script was added manually rather than via a plugin, so replacing the custom theme’s header.php with twentyfourteen’s header.php would have eliminated this script’s culpability.
Any other ideas? Thanks again!
February 18, 2015 at 9:02 am #943345BrianKeymasterThe error is still showing for me in Firefox and Chrome.
In Chrome the error is this:
Uncaught TypeError: Cannot read property ‘style’ of null
As long as that error is happening the Filter Bar will not work.
Changing headers may or may not remove the script it could and should be registered in the functions.php of the theme.
Does the error go away entirely if you change themes?
February 18, 2015 at 9:37 am #943354cityparksfoundationParticipantSorry, I put the script back in. I’ve taken it out now so you can have a look. The FB does work properly when I switch to the twentyfourteen theme. But I can’t for the life of me figure out what in the custom theme is breaking it.
February 18, 2015 at 12:12 pm #943394BrianKeymasterThis reply is private.
February 18, 2015 at 1:00 pm #943412cityparksfoundationParticipantThis reply is private.
February 18, 2015 at 4:14 pm #943462BrianKeymasterThis reply is private.
March 11, 2015 at 5:37 am #947526tutinomParticipantI am having this same problem. I have narrowed it down to the theme causing this problem not a plugin conflict. This is a theme I purchased.
The site url is: http://fairportbaptisthomes.org/fbevents/
Any help would be appreciated.
March 11, 2015 at 8:39 am #947606BrianKeymasterHi tutinom,
Sorry for the issues you are having.
I am limited in the support I can provide on Theme Compatibility issues. I can help narrow down the problem, but may not be able to provide coding to resolve the issue.
I took a look at your site and the Filter worked for me.
However, I did see this error that maybe causing issues.
You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
https://maps.gstatic.com/maps-api-v3/api/js/20/2/main.js
Line 60If you are still having issues after fixing that it is best to start a new ticket so we can help you one on one. However, if you post back here I can help out too.
Thanks
March 11, 2015 at 10:28 am #947665tutinomParticipantThanks Brian,
I was able to work around it by turning off the search bar and adjust a few other things in the settings.
Mike
March 11, 2015 at 12:47 pm #947698BrianKeymasterI am glad to see you were able to figure it out.
I am going to go ahead and close this ticket. If you have a similar issue or another in the future, please do not hesitate to create a new ticket.
Thanks!
-
AuthorPosts
- The topic ‘Filter Bar Theme Conflict, but What?’ is closed to new replies.