Installing Shareaholic on Weebly

Follow

This article will walk you through how to install and set up Shareaholic on your Weebly site. It covers how to install the setup code, add in-page apps to select content and posts on your site, as well as how to add in-page apps to all pages by inserting them into your template.

If you haven't already signed up for Shareaholic, check out the Getting Started with Shareaholic guide before following the below instructions. 

Installing Shareaholic on Weebly

  1. Make sure you have added your Weebly site to your Shareaholic.com account. The instructions on how to do this are in the Getting Started guide linked above.

  2. Login to your Weebly account

  3. Locate the site you want to add Shareaholic to

  4. Click Edit Site

  5. In your Weebly Editor, select Settings from the options on the top bar.

    weebly_editor_bar.png

  6. Then, select SEO from the menu on the left.

    weebly_seo_select.png

  7. In the section that says Header Code (below Footer Code), paste your Shareaholic Setup Code.

    weebly_header_code.png

    Your Shareaholic Setup Code can be found in under the Installation tab in your Shareaholic Site Settings -

    html-setup_code.png


  8. Press the green Save button in the lower right part of the window.

    weebly-save.png

  9. In order for these changes to take effect, you must then pPublish your site using the blue Publish button in the top menu bar.

    weebly-publish.png

  10. To make sure the installation worked correctly, visit your site and check to see if the Floated Share Buttons appear on the left-hand side of the screen (assuming you haven't disabled them in your Shareaholic settings).

  11. Congrats! Shareaholic should now load successfully on your website!

    balloons.gif

    For information on how to configure Floated Share Button settings or enable/disable any of the default apps, please check out these articles:

     

How-to install a Shareaholic In-page App:

Shareaholic In-page Apps, like In-Page Share Buttons and In-Page Related Content, are special apps that let you place them exactly where you want in your website layout or template at the location where the app should be displayed using code.

If you have not created an In-page Shareaholic App, check out the Installing an In-page Shareaholic App Guide before following the instructions below.

How-to install a Shareaholic In-page App on a specific Weebly page:

  1. Click on Build from the top bar of your Weebly editor.

    weebly-build.png

  2. Then click and hold down on the Embed Code square located in the sidebar.

    weebly-embed-code.png

  3. Drag and drop the square onto the location of the page where you wish to have the app appear.

    weebly-add-apps-build-embed-code-square-drag.png

  4. Click inside this new box where it says 'Click to set custom HTML', and then select Edit Custom HTML from the window that pops up.

    weebly-edit-custom.png
  5. From your Shareaholic.com dashboard, get the Code Snippet for the app you want to insert...

    weebly-sharebuttons-snippet.pngFor instructions on how to set up the Share Button and Related Content, as well as where to find the Code Snippets, check out Installing an In-Page Shareaholic App.

    ...and paste this code directly into the Embed Code box on your Weebly site.

    weebly-embedded-code.png

  6. Then click somewhere else on the page to get out of this Embed Code window.

    Note: After you have pasted the code, you will not see anything on your Weebly Editor page view. This is normal.

  7. To save your changes and see them on your site, hit the blue Publish button in the top bar.

weebly-publish.png

 

How-to install a Shareaholic In-page App in a blog post:

If you blog on your Weebly site, you can add In-Page apps to a specific blog post. The steps are largely the same as the ones listed above, but from within the Blog section of your Pages.

  1. First, click on Pages from the top bar in your Weebly Editor.

    weebly-pages.png 

  2. Then, select Blog from the Pages sidebar on the right.

    weebly-pages-blog.png

  3. Click on the post you are looking to edit to open it in the post editor.  Then click and hold the Embed Code button located in the right toolbar.

    weebly-embed-code.png

  4. Drag and drop the Embed Code square onto the desired location in the post.

    weebly-embed-post.png

  5. Click inside this new element, where it says "Click to set Custom HTML," and then choose Edit Custom HTML from the box that appears.

    weebly-edit-html-post.png

  6. Then, copy the code snippet for the app from your Shareaholic.com account...

    weebly-sharebuttons-snippet.pngFor instructions on how to set up the Share Button and Related Content, as well as where to find the Code Snippets, check out Installing an In-Page Shareaholic App.

    ...And paste it into the edit box on your Weebly page.

    weebly-code-snippet-post.png

Note: You will not see anything after you've pasted this code into the box, nor will you ever see the Shareaholic Share Buttons on your posts in the edit view.

In order to see your changes, hit the orange Update button in the top right of the your Weebly editor window.

How-to install a Shareaholic In-page App on all blog pages:

To have an app appear on every blog post you make, we'll need to edit your theme template. 

  1. Open the Theme editor from the top bar in your Weebly editor.

    weebly-theme.png

  2. After you've settled on which theme you'd like to use and made any adjustments, press the Edit HTML/CSS button at the bottom of the Theme options panel.

    weebly-theme-edit-html.png

  3. In the file structure on the right, go to Partials > Blog > post.tpl

    Please note:
    These instructions may vary somewhat depending on which theme you are using, so if your file structure does not look exactly like the ones in the example image below, don't be overly concerned. See if you can find a template for a single blog post in a similar location. If you need assistance finding the right file or configuring Shareaholic for your template, please contact us and we'll be happy to help you out!

    weebly-partial-preview.pngNote: Some templates include their own share buttons. If you wish to remove these, see if you can find a line that looks something like {{social_media_shares}} and delete it. If you need help, please contact support@shareaholic.com.

  4. To insert your app below each post, paste your code in the location seen in the image here, below the <div class="blog-content"> tag and the {{body_html}} line:

    weebly-blog-content-template.png

    To insert the app above each post, find the <div class="blog-header"> tag and insert your code at immediately before its closing </div> tag:

    weebly-template-header.pngNote: This will make the buttons appear below the blog title. To have them appear above the blog title, insert the code snippet immediately after the <div class="blog-header"> opening tag.

  5. Click the blue Save button in the upper right hand corner of your editor. If you are prompted to name your template, go ahead and do so.

  6. To see your changes appear on your site, click the orange Publish button on the main Weebly Editor.

    

 

Was this article helpful?