WordPress.org

Ready to get started?Download WordPress

Forums

Jamie Social Icons
[resolved] Show icons on main blog feed (3 posts)

  1. snowbelly
    Member
    Posted 1 year ago #

    This is a great plugin - so easy to configure and it's the only one I have found so far that treats the PinIt button properly - giving all images in the post as options, as opposed to just picking the first or last one.

    One request I have is to show the share icons on the main blog feed/category pages - i.e. to show the buttons on each post in the feed.

    http://wordpress.org/extend/plugins/jamie-social-icons/

  2. martiniboy
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Snowbelly
    Thanks for downloading my plug-in. You can add the social icons after each post on the main blog feed/category pages although it will not be automatic.
    You will need to add <?php echo get_jamie_social_code(); ?> into the template. On the index.php/category.php/archive.php look for the loop and after <?php the_excerpt();?> add the code and the icons will appear on the feed pages.
    I did not make it a function so it is automatic because when you like/tweet etc a post it shares the url with posts on the blog feed/ category page the posts move to different pages if paginated as new posts are added.
    In my next update I will look into adding this an option to avoid having to alter the template filess.

  3. snowbelly
    Member
    Posted 1 year ago #

    Hm, I see what you mean about the pagination issue. Thanks for the code snippet, I will play around with it in my template and see what I can do.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic