If you have a blog, chances are you’ve installed a plugin to enable easy sharing of your content on some of the most popular social media and sharing sites. You also may have installed LinkWithin, which is a great plugin to show someone other posts you have written that deal with the topic of the current article. If you have installed SexyBookmarks by Shareaholic and LinkWithin, by default they appear in what I think is the wrong order. You would want the sharing links directly under the article, with the links to the other articles underneath that. Since you want people to share your article, and then move on to other articles. You can’t really share the previous post as you are viewing the next post, right?
So, in order to flip them around to the correct order, you only need to add a simple line of code to your templates. If you are on a theme, it may be a little more difficult for you to find, but what you are looking for is the posts themselves… so typically it will start out with <div class=”post”> or something to that nature. Once you find that (typically in your main index.php or your single post located in single.php). Next you will see the WordPress loops which call for the individual posts, they look something like…<h2><?php the_title(); ?>” href=”<?php the_permalink() ?>” rel=”bookmark”><?php the_title(); ?></a></h2>, and then some more of that calling the_content, and maybe even some code to call for the tags of the post.
Right before the </div> closes for the post so at the end of all of that, but before the </div> you would place this line of code (after you have both plugins installed and running)
Save the file and refresh the page and see what you get! If it ends up blowing up your site, then just go back into the editor and remove that line of code.
I apologize for speaking a little bit of a different language, but sometimes there is just no easy way to explain code. 🙂 Any questions feel free to ask! Or you can hire me to just do it for you.
This post may contain affiliate links, which means I receive compensation if you make a purchase using the links.