• Resolved Matilda F

    (@matilda-f)


    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=”http://www.facebook.com/share.php?u=<a href="http://codex.wordpress.org/URL">URL</a>&t=<a href="http://codex.wordpress.org/TITLE">TITLE</a>” title=”Post to Facebook”>
    <img src=”<a href="http://codex.wordpress.org/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 http://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.