Tagged: x
-
AuthorPosts
-
March 14, 2017 at 7:39 pm #1407288
ellbyParticipantWhile on my website, I have a menu, and one menu header named “Services” drops down with multiple services listed. On every page this menu works (hover over it, services drop down). However, when I get to my “Contact us” page, I go to hover over “Services” and nothing happens. In fact, the preview URL at the bottom of my browser reads for the “Contact us” page. When I’m in Cornerstone editing the “contact us” page it doesn’t seem to be an issue. But when I go to the live website it is an issue ONLY on the “Contact us” page. Private reply including link and password below.
March 14, 2017 at 7:40 pm #1407292
ellbyParticipantThis reply has been marked as private.March 15, 2017 at 2:50 am #1407668
FriechModeratorHi There,
Thank you for writing in! I am seeing a JavaScript error on the contact page only. Please do a 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.
Cheers!
March 15, 2017 at 7:34 am #1407875
ellbyParticipantI’ve gone to my plugin page and the only plugin I have active is Cornerstone.
March 15, 2017 at 7:36 am #1407880
ellbyParticipantIt looks like it was my embedded contact form. How do I embed the code for that form (from MachForm) without causing other issues?
March 15, 2017 at 10:02 am #1408086
ThaiModeratorHi There,
Please try adding the embed code to the raw content element.
Hope it helps 🙂
March 15, 2017 at 11:44 am #1408275
ellbyParticipantThis reply has been marked as private.March 15, 2017 at 2:26 pm #1408486
JadeModeratorHi there,
Please install and activate the child theme and add this code in the functions.php file:
add_action('wp_head','custom_script'); function custom_script() { ?> <script type="text/javascript"> var __machform_url = "http://virginiabeachdoula.com/forms/embed.php?id=10248"; var __machform_height = 1498; </script> <div id="mf_placeholder"></div> <script type="text/javascript" src="http://virginiabeachdoula.com/forms/js/jquery.min.js"></script> <script type="text/javascript" src="http://virginiabeachdoula.com/forms/js/jquery.ba-postmessage.min.js"></script> <script type="text/javascript" src="http://virginiabeachdoula.com/forms/js/machform_loader.js"></script> <?php }Hope this helps.
March 15, 2017 at 4:37 pm #1408637
ellbyParticipantI did that and now my entire website is down. I can’t even access wordpress anymore. What do I do now??
March 15, 2017 at 5:05 pm #1408674
ellbyParticipantI had to go to my cpanel and manually delete this code because it made my website go down. When I deleted it everything came back up. Do you have another solution that may help?
March 16, 2017 at 12:35 am #1409141
Paul RModeratorHi,
You need to remove the jquery script from your code. The script is already added so no need to add it again.
Please your code to this and add it in a raw content element.
<script type="text/javascript"> var __machform_url = "http://virginiabeachdoula.com/forms/embed.php?id=10248"; var __machform_height = 1498; </script> <div id="mf_placeholder"></div> <script type="text/javascript" src="http://virginiabeachdoula.com/forms/js/jquery.ba-postmessage.min.js"></script> <script type="text/javascript" src="http://virginiabeachdoula.com/forms/js/machform_loader.js"></script>I removed this line –
<script type="text/javascript" src="http://virginiabeachdoula.com/forms/js/jquery.min.js"></script>Hope that helps
March 16, 2017 at 7:38 am #1409492
ellbyParticipantI’m not understanding where in the functions.php file to put this code. No matter where I place it, it either makes the entire website non-functioning (as in when I type in the URL it’s no longer accessible) or when I put it in the very first line of the file it makes it so my contact form is in the header. Plus, even when it IS in the header, I’m still having the original issue of the Services tab not being functioning. So it hasn’t resolved that problem.
If you go to my website now you can see how I’d like the contact us page formatted. The only issue I’m currently having is that the Services tab no longer drops down and it previews as a link for the Contact Us page.
So, where in the functions file do I specifically place the code so it doesn’t reformat the page and it also resolves the issue of the non-working Services tab?
March 16, 2017 at 9:56 am #1409684
JoaoModeratorHi There,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– FTP credentials
Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks
March 16, 2017 at 8:03 pm #1410462
ellbyParticipantAre my FTP credentials different from my login information listed above??
March 16, 2017 at 8:08 pm #1410467
ellbyParticipantThis reply has been marked as private. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1407288 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
