Hi everyone. I would like to enable Ajax loading on my site but it doesn't work with my social sharing buttons and code I use on a few pages. I am not very knowledgeable with coding so I wanted to ask here if there is anything I can do. Is there a code you can add that makes the page refresh each time? I disabled Ajax for now but can turn it back on to troubleshoot if needed. The social buttons I'm referring to are through Shareaholic, they only show up if you refresh the page. Thanks in advance for any help :)
The other code I'm referring to I only have on my secondary navigation pages that I want to look like landing pages. It removes the header and footer. https://mommytomom.com/want-to-work-from-home
Question
Alice31302 0
Site URL: https://mommytomom.com/
Hi everyone. I would like to enable Ajax loading on my site but it doesn't work with my social sharing buttons and code I use on a few pages. I am not very knowledgeable with coding so I wanted to ask here if there is anything I can do. Is there a code you can add that makes the page refresh each time? I disabled Ajax for now but can turn it back on to troubleshoot if needed. The social buttons I'm referring to are through Shareaholic, they only show up if you refresh the page. Thanks in advance for any help :)
Code injection
<!-- BEGIN SHAREAHOLIC CODE -->
<link rel="preload" href="https://cdn.shareaholic.net/assets/pub/shareaholic.js" as="script" />
<meta name="shareaholic:site_id" content="73ca7139ab230a40546bce24cbe1c713" />
<script data-cfasync="false" async src="https://cdn.shareaholic.net/assets/pub/shareaholic.js"></script>
<!-- END SHAREAHOLIC CODE -->
The other code I'm referring to I only have on my secondary navigation pages that I want to look like landing pages. It removes the header and footer. https://mommytomom.com/want-to-work-from-home
Pages settings, advanced
<style>
.Header, .Footer, .Mobile-bar, .Mobile-bar--top, .sqs-announcement-bar-custom-location{
display:none !important;
}
</style>
Link to post
Top Posters For This Question
2
1
1
Popular Days
Aug 6
2
Jul 1
1
Jul 5
1
Top Posters For This Question
tuanphan 2 posts
Alice31302 1 post
MidnightClub 1 post
Popular Days
Aug 6 2020
2 posts
Jul 1 2020
1 post
Jul 5 2020
1 post
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment