Widget Header

 
 

Overview

Once a ShareThis button style has been decided, a custom header can optionally be added. This space could be used as a message to your readers or simply display the name of your website.

Attributes

Name Definition Default Requirement
st_title Adds a custom title for the share document.title Optional
st_url Adds a custom URL for the share document.location.href Optional
displayText Change the text that appears with the button ShareThis Optional

Options

Name Definition Default Requirement
publisher Your unique ShareThis publisher key none Required
headerTitle Title used in widget header none Optional

 

Header Text

headerTitle:'ShareThis.com - Discover What Matters'

Change the widget header text.

Example
		<span class="st_sharethis"></span>

<script type="text/javascript" src="http://wd.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">
	stLight.options({
		publisher:'12345',
                headerTitle:'ShareThis.com - Discover What Matters'
	});
</script>

Result: