• Resolved madhivanan

    (@madhivanan)


    Hi,
    When using jetpack related posts, they are inserted immediately after the content and above the author meta in the posts. I have searched the internet and found that it can be removed with adding code in functions.php. i have done that. I would like to know if it can be hooked after the author meta in posts. Kindly let me know the code that can hook it after the author meta.
    Another option is to add the short code; if i add it to single.php, will it appear in the pages too in baskerville theme?

    Thanks,
    Madhivanan.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi @madhivanan,

    For that, you’ll need to copy the content.php file over to your child theme and manually call the related posts function where you want it to appear (as well as disable it being added automatically after the_content(), in functions.php).

    The content.php file is used by both posts and pages, so you’ll need to wrap it in a is_single() conditional.

    — Anders

    Thread Starter madhivanan

    (@madhivanan)

    hi,
    I managed it by inserting the code in single.php file in the child theme. This seems to be used only by the posts. Thanks for the reply.

    Madhivanan.

    • This reply was modified 4 years, 6 months ago by madhivanan.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Repositioning jetpack related posts’ is closed to new replies.