WordPress.org

Ready to get started?Download WordPress

Forums

Social Sharing Toolkit
Adding short code to loop (2 posts)

  1. scottbrown
    Member
    Posted 1 year ago #

    Hey,

    I want to add some sharing icons into the posts on the first page of my site by modifying the loop.php

    I am using the standard 'do shortcode' function to call it but it is not appearing with each post.

    The code I am using is:

    <?php echo do_shortcode('[social_share/]'); ?>

    Help appreciated!

    http://wordpress.org/extend/plugins/social-sharing-toolkit/

  2. thisismyalterego
    Member
    Posted 1 year ago #

    Hi mate,
    I had the same problem and solved it!
    I've found the solution here:
    http://www.peterjharrison.me/2011/11/social-sharing-toolkit-plugin-wordpress-use-within-loop/#comment-101179

    Important: If this solution is not working, please read my comment on the page (username vendredi)

    Oh, I saw that your comment is 2 months old. I hope my answer is still useful for you (or other people)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.