• The Cobalt Apps Community Forum is for community interaction and assistance, but is not our official Cobalt Apps Product Support solution. If you need Cobalt Apps Product Support please contact our support team through the contact form found at the bottom of your "My Account" page.

Share42 and best way to use with Dynamik

aski

New Member
#1
Hi,
I'm using Addthis but don't want the tracking cookies anymore (GDPR). So I'm looking into Share42.

http://share42.com/

Share42 uses locally-hosted JavaScript to avoid repeating the title and URL on every button, and a single image sprite generated from the set of buttons that you choose. The instructions say to ftp both files to your own site, so that it doesn’t contact a third-party server just by appearing.

I'm looking for a simpler way with Dynamik.

I could insert the code via hookboxes and the zip files contains two files (icons.png and share42.js).

Can I just add this share42.js content into Dynamik Custom? And what should I do with the icons file (icons.png)?
 

eric

Administrator
Cobalt Apps Developer
#2
Just from glancing at the page you linked to it would appear that the best solution would be to download the share42 zip to your computer, unzip it, and the FTP that folder to your /wp-content/themes/dynamik-gen/ directory. Then be sure to set that /share42/ folder up as a protected folder in Dynamik > Settings using these instructions: https://docs.cobaltapps.com/article/104-protect-specific-folders-from-dynamik-auto-updates

Then paste the following into your Genesis Header of Footer Scripts (not sure which one) and adjust according to your site URL:
HTML:
<div class="share42init"></div>
<script type="text/javascript" src="http://site.name/wp-content/themes/dynamik-gen/share42/share42.js"></script>
But again, I'm just guessing based on a brief looking over of that page you linked to.