Social share buttons – hard coding
-
To display the buttons in a horizontal tile, I placed the following in Frontier Options > Custom CSS tab:
#share-buttons img { width: 35px; padding: 5px; border: 0; box-shadow: 0; display: inline; }
My question is, to make them appear on every page (right sidebar), can I place the following code in the sidebar-right.php file??:
<div id="share-buttons"> <!-- Facebook --> <a href=”https://www.facebook.com/share.php?u=<a href="https://codex.www.ads-software.com/URL">URL</a>&t=<a href="https://codex.www.ads-software.com/TITLE">TITLE</a>” title=”Post to Facebook”> <img src=”<a href="https://codex.www.ads-software.com/PATH_TO_IMAGE">PATH TO IMAGE</a>/facebook-icon.png” alt=””/> </a> …then the next button code…. </div>
Since you can have a single counter after the array of buttons (see 2nd/3rd example at https://www.addthis.com/), would I be able to add that functionality next?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Social share buttons – hard coding’ is closed to new replies.