• Resolved prabirm

    (@prabirm)


    I am using this plugin and it is working great except one problem.

    I am using facebook comment box under the post. This plugin shows the related post just after the end of post and above the FB comment box where as I want to display related post after FB comment box.

    Like this – Post – FB Comments – Related post.

    I am using the Genesis framework so cannot edit the single.php file.

    Plz help me to resolve it

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey,

    I’m afraid right now this can’t be done in an easy way without editing single.php.
    Maybe you could achieve this by using some advanced CSS rules, but it depends on the plugin used for FB comments and how it generates the comment box.

    Related posts are wrapped in a div with id wp_rp_first and if FB comments plugins does something similar, then there’s a chance we can figure something out.

    Can you provide URL of your blog?

    Regards,
    Mateja

    Thread Starter prabirm

    (@prabirm)

    This is my TEST URL where I am working on this

    https://www.travellersshow.com/best-luxury-hotels-in-india.html

    It was working fine if I unchecked the Auto inserted post option in Pluggin settings and put the code (<?php wp_related_posts()?>) manually through Genesis Hooks at the end of post but another problem came up.. in the category page the related post is shown after each excerpted post one after another so I undo this steps.

    Any Advice ???

    Hey,

    I’m not familiar with the Genesis hooks and I don’t know how they work on category pages, but I’m assuming they use the same hook for single pages and category pages, so try to put this code at the end of post through their Hooks:

    <?php if ( ! is_archive() && ! is_search() ) : wp_related_posts(); endif; ?>

    If this won’t work, I suggest you contact the authors of Genesis Framework – their website states that they offer unlimited support for their customers…

    Hope this helps.

    Thread Starter prabirm

    (@prabirm)

    Hi Mateja

    Thank you for your help, though I didn’t use your code but it gave me an idea to use the plugin code into a hook which execute out of the loop now it is working fine the way i want.

    Thank for your help

    I’m glad it works ??

    Take care & have a nice day!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[ Plugin:WordPress Related Posts} Positioning’ is closed to new replies.