WordPress Related Posts
[resolved] Related posts appearing at the bottom of blog, but above another plugin (6 posts)

  1. 409industries
    Posted 2 years ago #

    Hello! Love the plugin!

    I have a small problem and am looking for some help getting our related posts positioned correctly on our blog post pages.

    This is an example:


    I have a social media plugin that is appearing above the tags and may not be able to easily move it. Is it possible to edit the related posts plugin to force it to appear right above the "Tags" in a blog post? Ideally I want this sandwiched between the social media share bar and the tags so that the order would be as follows:

    1. Article text
    2. Social Media icons
    3. WordPress Related Posts
    4. Tags
    5. Comment box

    Here's a mockup of what i'm trying to do.

    Screenshot: http://www.dirtyimpreza.com/hosting/imagehosting/related_posts_move_under_so.jpg

    Again, thank you for a great plugin! I have also found a lot of great information in your support forum here, so good job following up on people's requests.

    Hope to hear back soon. Thanks!


  2. PetraP
    Plugin Author

    Posted 2 years ago #

    Hey 409industries,

    thanks for reaching out!
    Unfortunately your theme is not free to use, so I can't test this on my side but the usual steps to make the adjustments you want are:
    1.) Go to "Appearances"-> "Editor"-> and in the upper right corner select your theme (907 if I am not mistaken)-> then on the right side find and click the single.php file. Now in the editor you just need to insert the <?php wp_related_posts()?> to the right place (usually you can tell where the comments/tags part start, so you just put that code above that). You can also copy/paste the content of the single.php file here and we'll figured out where to put it.
    2.) In the plugin settings->"Advanced settings"->"Other settings"-> untick the box next to "Auto Insert Related Posts (or add <?php wp_related_posts()?> to your single post template) " and don't forget to save the changes.

    Please let me know how it goes,

  3. 409industries
    Posted 2 years ago #


    You are awesome! A quick insert of <?php wp_related_posts()?> at the bottom of the single.php blog post section and I got the desired look.

    One small tweak I would like to do:

    Is it possible to add more padding above the "Related Posts Title" portion ? Here is my custom CSS:

    .related_post_title {
    ul.related_post {
    display: block !important;
    margin-left:auto; !important;
    margin-right:auto; !important; text-align:center;
    padding: 0 !important;
    position: relative !important
    ul.related_post li {
    ul.related_post li a {
    ul.related_post li img {
    .wp_rp_content {
  4. PetraP
    Plugin Author

    Posted 2 years ago #


    thanks for getting back to me and sorry for not replying any sooner!
    Glad to hear we have solved that issue and about that padding/margin - I think if you add this to your CSS code:

    .wp_rp_wrap .related_post_title {
          margin-top: 20px !important;

    ...it should to the trick :)

    Hope this helps, take care and have a nice day,

  5. 409industries
    Posted 2 years ago #

    That was it! Thank you so much for the amazing support. Rating this plugin 5 stars now :-)

  6. PetraP
    Plugin Author

    Posted 2 years ago #

    Happy to help and big thanks for the review :) Truly appreciate it!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Related Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.