Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter lynefitz

    (@lynefitz)

    Hi Again,

    Update: I have found how to place related posts manually, however, my child theme does not have either an index.php or single.php. Where would I place the <?php if (function_exists(‘nrelate_related’)) nrelate_related(); ?> code without modifying the genesis parent?

    I have related posts showing up at the bottom of my posts but before my like/dislike buttons and my sharing buttons. How can I move related posts below those two?

    Thanks,
    Lynette

    @lynefitz — Thanks for using nRelate on your site. You can change the order of where you’d like the plugin to appear by following the instructions for “Manually Inserting PHP function into your FUNCTIONS.PHP FILE” – https://nrelate.com/theblog/2011/12/22/manually-adding-nrelate-code-to-your-wordpress-template/. Let us know if you need more help.

    [ Signature moderated. ]

    Thread Starter lynefitz

    (@lynefitz)

    Hi Katrina,

    As I stated in the second post, I found the directions to how to move the related posts. However, my theme doesn’t have either an index.php or single.php. Where would I place the code listed in the directions without modifying the genesis parent?

    Thanks,
    Lynette

    Thread Starter lynefitz

    (@lynefitz)

    I tried modifying the functions.php file and it did nothing, so I thought I’d try modifying the index.php or single.php but my theme has neither of those files. help please!

    Do you have the Genesis Simple Hooks installed? If not, it’s a plugin just for Genesis, free if you have Genesis. Then click on Genesis in the admin, then select Simple Hooks from the dropdown menu.

    Put the PHP code in the appropriate place — it may take some testing to find exactly where you want it (it did for me) and be sure to check the box about “execute PHP,” save changes. Then look to see if you got it right (empty cache if you have one) and go from there.

    Good luck!

    Probably the right place is in the section labelled:

    genesis_after_post_content

    I put nRelated in the After Post widget area (I’m using Prose as the child theme and that’s a standard widget area), but I did some custom coding for my newsletter signup in the “after_post_content” area. At the end of the post, there’s first the Jetpack sharing icons, then the custom code, then the widget area. You can see were it shows up on any of my posts, such as:

    https://theboatgalley.com/adding-refrigerant/

    Hope this helps!

    Thread Starter lynefitz

    (@lynefitz)

    Putting it in the After Post widget area worked perfectly!!! Thank you! I’m glad to be using nRelate’s related content again!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Move Related Posts very bottom’ is closed to new replies.