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

  • Resolved Stachart


    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 1 year, 2 months 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)
  • The topic ‘Output function parameters (echo_crp options)’ is closed to new replies.