• Resolved peteduignan

    (@peteduignan)


    Hello,

    Great plugin!

    I use Categories for the Menu and like to have the Crafty icons display in the Sidebar.

    Had been trying to figure out how to Share the page, not a post.

    Read thru the support topics and the “Share Buttons for Categories” topic seemed to be very similar to what I wanted to do.

    I added
    <?php do_action(‘crafty-social-share-page-buttons’); ?>
    towards the top of my theme sidebar.php.

    and removed
    the Crafty widget from my Sidebar (so it wouldn’t appear twice).

    Seems to work very well. Am very happy with it.

    My website is whiddy.com. (not indexed in Google yet)

    Problem solved (I think!).

    Just wondering if anyone else has tried this and come across any issues?

    Thank you so much.

    Pete

    https://wordpress.org/plugins/crafty-social-buttons/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sarah

    (@shen045)

    Hi Pete,

    Yes, that sounds like the best way to do it if you always want to just share the page url and not have it tied to a specific post or page.
    The other action hooks are designed to work inside the loop – this is the only one that works outside it.

    Maybe others will have some experiences to comment on, but so far the only issue anyone’s had with this approach is if using share counts, some web servers block the ajax call because of the URL in it. If you aren’t showing share counts, or your server doens’t have these settings, then it shouldn’t be an issue.

    Cheers,
    Sarah

    Thread Starter peteduignan

    (@peteduignan)

    Thanks for responding Sarah.

    I don’t use the share counts at this time. Maybe later when/if I get a bunch of shares!

    Pete

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sidebar, Share page’ is closed to new replies.