Tagged: x
-
AuthorPosts
-
May 18, 2016 at 9:54 am #997498
thetravelvisaParticipantI think I have conflicting Javascript on my page which is stopping certain elements from working properly (scroll to top, text type, card). All element work together when viewing in Cornerstone but not when viewing live.
Here is the page: http://www.thetravelvisacompany.ie/services/
I don’t think it’s related but the 404 page isn’t working correctly either (it shows the designated page as a search result which you have to click to see the content). I will provide the WP login credentials so you can look into both issues.
May 18, 2016 at 9:56 am #997499
thetravelvisaParticipantThis reply has been marked as private.May 18, 2016 at 11:23 am #997639
Nabeel AModeratorHi there,
Thanks for writing in! You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
May 18, 2016 at 11:31 am #997648
thetravelvisaParticipantThe only plugins installed are the default ones that are required for the theme. The conflict hasn’t been an issue for the past few months but has recently occurred.
May 18, 2016 at 1:11 pm #997844
RupokMemberHi there,
Thanks for updating. I have checked your given URL and not sure what’s not working due to JS errors as I can’t see any JS errors on the console either. Would you clarify a bit?
Cheers!
May 19, 2016 at 3:12 am #998992
thetravelvisaParticipantIt seems as though you have fixed the cornerstone elements that weren’t working correctly. It has now prevented the search box from operating properly.
The search is a block of custom HTML (you can see it working on the homepage http://www.thetravelvisacompany.ie/) which does reference another JS file so that when people search for a country it directs them to the relevant page rather than displaying a list of search results.
They were both working alongside each other until a recent update was installed.
May 19, 2016 at 4:40 am #999100
thetravelvisaParticipantIf you login and go to edit the page with cornerstone then you will be able to see all the javascript elements working together as they should. It’s just when viewing live where the problem lies.
May 19, 2016 at 4:53 am #999117
Paul RModeratorHi,
It sounds like you might be having an issue with a third party plugin or script. Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.
Thank you for your understanding.
May 19, 2016 at 4:57 am #999124
ChristianModeratorHey there,
Your custom HTML’s setup is incorrect. It includes the head tag which is not allowed (see attachment). Though you said it worked before, that setup is not supported. Looking at the code, the scripts must be added inside the <head></head> tag. To do that, please see http://www.wpbeginner.com/plugins/how-to-add-header-and-footer-code-in-wordpress/
The rest of the HTML must remain in the Raw Content element. If you’re not comfortable working with code, I recommend that you seek help from a WordPress developer.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-997498 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
