ArtMocaf Posted January 24, 2023 Share Posted January 24, 2023 Hi community! I want to add the following shareaholic code to event pages of my website. I was able to do it for my blog pages by going to Page Settings > Advanced > Page Item Code Injection. But it seems for event pages there's no Page Item Code Injection option, only Page Header Code Injection (attached screenshot). Is there anyway I can tweak this code to only show up on the event pages and not the event page landing? Code here: <!-- BEGIN SHAREAHOLIC CODE --> <link rel="preload" href="https://cdn.shareaholic.net/assets/pub/shareaholic.js" as="script" /> <meta name="shareaholic:site_id" content="3910f41d5db90ac8072e79f044c119b0" /> <script data-cfasync="false" async src="https://cdn.shareaholic.net/assets/pub/shareaholic.js"></script> <!-- END SHAREAHOLIC CODE --> Begona 1 Link to comment
tuanphan Posted January 27, 2023 Share Posted January 27, 2023 You can add to Page Header Code Injection then share link to Event Page, we can give code to remove it on Event List Page Begona 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Begona Posted April 4 Share Posted April 4 (edited) Hi! I'm having the same issue as @ArtMocaf. I need to add Shareaholic's code to share individual events. However, I only get the option to add the code under Events' Page Header Code Injection. Can you help me @tuanphan? site: https://avui-test.squarespace.com/ pw:avui Edited April 5 by Begona Link to comment
tuanphan Posted April 7 Share Posted April 7 On 4/4/2024 at 5:20 PM, Begona said: Hi! I'm having the same issue as @ArtMocaf. I need to add Shareaholic's code to share individual events. However, I only get the option to add the code under Events' Page Header Code Injection. Can you help me @tuanphan? site: https://avui-test.squarespace.com/ pw:avui You mean Add shareaholic to List Page or Remove Shareaholic from List Page ? Begona 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Begona Posted April 8 Share Posted April 8 @tuanphan I need Shareaholic's share buttons to appear under inside each event, just like they appear in blog posts. However, with events there's no option to add the code like in blogs to "Post Blog Item Code Injection" and adding an individual code block to each event is not an option for my client. Link to comment
tuanphan Posted April 10 Share Posted April 10 If this, I don't know a way to achieve this. You try creating new thread, maybe someone can see and help Begona 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment