Support » Plugin: Contextual Related Posts » Output function parameters (echo_crp options)

  • Resolved Stachart

    (@stachart)


    Hi,
    I’d like to add the related posts sticky in my sidebar. I set up my CSS to have the last widget item sticky. So, I’d like to make related posts and a banner stay inside a single <aside> and append it to sidebar.php.
    I just can customize the number of posts because I don’t know all the parameters.

    Here’s the code:

    if ( function_exists( 'echo_ald_crp' ) ){
    			echo '<aside id="ae-related" class="widget inner-padding">';
    			echo_crp( array('is_widget' => 1, 'limit' => 3, ) );
    			echo '</aside>';
    }

    I’d like to display as a list without image, this code display image and title. I can’t deactivate it within the plugin option because I use thumbnail when I display related posts under the article.

    If you could drop all possible arguments too. I did a lot of Google searches to find the above two.

    Thank you!

    • This topic was modified 2 months, 4 weeks ago by  Stachart.
Viewing 1 replies (of 1 total)
  • I found what I was looking for.
    I had everything configured in tn plugin settings expect thumbnails.
    By looking at code examples online, I find one of the value of the parameter responsive of featured image.
    I added

    'post_thumb_op' => 'text_only'

    and it worked!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.