[resolved] Social share buttons - hard coding (3 posts)

  1. Matilda F
    Posted 1 year ago #

    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=””/>
    …then the next button code….

    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?

  2. ronangelo
    Theme Author

    Posted 1 year ago #


    As I said on your original topic above, put the code on a text widget then you can put that widget on the sidebars or anywhere a widget area is available.

    For questions regarding AddThis functionality, you should ask on their site or on their plugin's support page.


  3. Matilda F
    Posted 1 year ago #

    Thanks for the reminder.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic