Skip to main content
All CollectionsShare
Inline Sharing
Inline Sharing
Cassandra Campbell avatar
Written by Cassandra Campbell
Updated over 8 months ago

The Inline Sharing feature in Share gives you complete control over where your Share bar displays on your site by allowing you to embed BDOW! (formerly Sumo) generated code into your website's HTML.

Adding a New Inline Placement

Creating an Inline Share Bar Code Snippet

023.png

Customizing The Inline Bar

024.png

  • Name - This is where you set the name of this inline placement.

  • Show On Mobile - Toggle on or off the display of this inline placement on mobile devices (NOTE: Global Mobile settings will apply, if any).

  • Create Custom Bar - Enabling this will allow you to create a custom bar and override your global bar settings. If this is not enabled, Share will generate an inline bar that matches your global settings (NOTE: Inline Share bars do not obey Display Rules).

  • Orientation - Set the orientation for the inline placement. Choose between horizontal and vertical.

  • Float - Set the CSS float property for the inline placement. Choose between None, Left, and Right.

Adding a Custom Bar

Sumo_-_The_Best_Website_Traffic_Tools.png

  1. Available Services - Choose from a list of services, then drag into Selected Services.

  2. Selected Services - This is the list of services you choose to display on your site.

  3. Services Shown - The maximum number of services on the bar. Choose up to 11 services.

  4. Shares Label Background Color - The color you want the shares label background to be.

  5. Size - How big you want the share icons to be.

  6. Style - How the buttons will look. Choose between Square, Rounded, and Circle.

  7. Padding -The amount of space (pixels) between buttons.

  8. Buttons Background Color - The color you want the share buttons to be. Choose between Small, Medium, and Large.

  9. Show Share Counts - Toggle on or off the display of share counts.

  10. Show Total Share Counts - Toggle on or off the display of an aggregate total share count.

  11. Horizontal Offset - Moves the share bar left (-) or right (+).

  12. Vertical Offset - Moves the share bar up (-) or down (+).

Click on the Inline Sharing tab then click on Add Code.Enable Create Custom Bar

Adding Inline Code To Your Site

  1. Open the folder where your website's files are located and find the file you wish to embed the inline code. Open that file in your favorite IDE (code editor). (NOTE: Your screen may look different)

  2. Paste the BDOW! code in the desired location within the desired file, then Save.

  3. Congrats! You're done! Visit your site, and you should now be able to see your very own custom Share Bar. (In our case it's in the footer of the site, exactly where we expected it to be!)

Set specific URL & Text to accompany your Share Bar

While Share universally uses your Open Graph tags in order to determine what URL and Text(title) is applied when sharing, Inline Share is able to bypass this. You can, with inline share only, modify the URL and Text associated with its share.

1 - Set your URL.

By default your inline share will look similar to this:

<a data-sumome-share-id="f7f23864-3022-4e99-9ee0-45c020337a8f"></a>

To add a specific URL to be shared with this bar add the following data attribute:

data-sumome-share-url="set any URL you want"

Example:

<a data-sumome-share-id="f7f23864-3022-4e99-9ee0-45c020337a8f"data-sumome-share=url="http://any_url_i_want.com/"></a>

2 - Set your Text.

Similar to setting your URL, you can also define the text that is shared with it. To add specific text to be shared with your inline share bar add the following data attribute:

data-sumome-share-text="set any text you want"

Example:

<a data-sumome-share-id="f7f23864-3022-4e99-9ee0-45c020337a8f"data-sumome-share=text="Sumo is the Best!"></a>

Did this answer your question?


โ€‹
โ€‹

Did this answer your question?