• Hi, Is it possible to show the related posts after the author bio? By default, the plugin inserts the related posts in between the last paragraph of a post and the author bio, which is kind of weird. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ajay

    (@ajay)

    It’s likely because the author bio is coded into the team which is what I’d expect. The plugin taps into the_content filter which would sit before the author bio code when doing the automatic install.

    The only way to flip it around is to edit your theme files and insert the echo_crp() template tag after the author box.

    Which theme are you using?

    Thread Starter lauratraveler

    (@lauratraveler)

    Hey @ajay I’m using the Kadence theme. Do I also have to insert ‘<?php if ( function_exists( ‘echo_crp’ ) ) { echo_crp(); } ?>’ somewhere in the theme? Or just echo_crp()? And should this be added in the entry_author.php or somewhere else?

    Plugin Author Ajay

    (@ajay)

    <?php if ( function_exists( 'echo_crp' ) ) { echo_crp(); } ?>

    The full code. Please keep an eye on the single quotes, because it gets changed here to apostrophes.

    I’ve used Kadence but haven’t yet dug into the code. It’s on my long term list to use for building my site when I have sometime.

    Thread Starter lauratraveler

    (@lauratraveler)

    @ajay Okay, so I managed to change the placement of the related posts. But I still haven’t figured out how to make this fullwidth so it stretches the whole width of the screen. Do you use a class for this? Or how is this done? My blog post layout is set to narrow now. But images can be set to full width. So I’m thinking the related posts can be displayed full width as well… Do you have any tips? Thank you!

    Plugin Author Ajay

    (@ajay)

    You’ll need to style the images and/or HTML to fit what you’d like to achieve.

    This is a sample set of HTML with classes you’ll need to style. https://webberzone.com/support/knowledgebase/customising-the-output-of-contextual-related-posts/

    Is your site in production, or live?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Show related posts after author bio?’ is closed to new replies.