Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Could you let me know how you tried to use the Jetpack_RelatedPosts_Raw class?

    Could you also let me know what happens when you remove all custom code you may have added, and let Jetpack handle the display of the Related Posts? If the posts still aren’t displayed then, could you post your site URL here so I can have a look?

    If you want it to remain private, you can also contact us via this contact form:
    https://jetpack.me/contact-support/

    Thanks!

    Thread Starter Naweed Chougle

    (@hypersonic)

    I am trying to use the shortcode like this in my template:

    <?php echo do_shortcode( '[jprel]' ); ?>

    I also tried removing the custom code and switched on Related Posts from the Dashboard > Settings area, but nothing appears.

    I’ll send you the URL privately, and post our conclusions here.

    Thread Starter Naweed Chougle

    (@hypersonic)

    UPDATE: I got this working!

    This is the code I used in the template:

    https://pastebin.com/Cs3FMz64

    I think it took a while since I activated Related Posts, for the data to show up. Not sure how long, but I tried after two days and it worked.

    Could you check out the pastebin and let me know if that is efficient enough for my needs?

    Thanks!

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    It looks good! I’m glad to hear you could figure it out!

    Not sure how long, but I tried after two days and it worked.

    That’s most likely because your posts were not all indexed yet. It should be okay now!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Using Jetpack_RelatedPosts_Raw to show content’ is closed to new replies.