Adding sharing buttons to blog-posts

  • Posted in : Readme
  • Anonymous
    Inactive

    Dear Pixelwars,

    Could you please advise how I can add custom share buttons to posts? In instruction they advise to put the text before <?php comments in single.php.

    As far I understood there is no single.php in this theme. Thank you!

    (function() {
    if (window.pluso)if (typeof window.pluso.start == “function”) return;
    if (window.ifpluso==undefined) { window.ifpluso = 1;
    var d = document, s = d.createElement(‘script’), g = ‘getElementsByTagName’;
    s.type = ‘text/javascript’; s.charset=’UTF-8′; s.async = true;
    s.src = (‘https:’ == window.location.protocol ? ‘https’ : ‘http’) + ‘://share.pluso.ru/pluso-like.js’;
    var h=d[g](‘body’)[0];
    h.appendChild(s);
    }})();

    Mehmet S.
    Keymaster

    Hi, there is a single.php file in this theme, but it calls another php file depending on theme options and post format.

    The files:

    Anonymous
    Inactive

    Hi Mehmet,

    Thank you! It is it possible to have in next updates the ability to edit in theme editor all post as the one? E.g. just to add share buttons, or custom text?

    Mehmet S.
    Keymaster

    You can see these files from Appearance > Editor.

    See image:

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register