• Hi,

    I am using the thumbnail_excerpt format explained here: https://keesiemeijer.wordpress.com/related-posts-by-taxonomy/templates/
    Everything works as it should, except one thing: when using the shortcode, “don’t read” the image size provided (for example, using [related_posts_by_tax terms=”3″ posts_per_page=”2″ order=”RAND” title=”” format=”thumbnail_excerpt” image_size=”medium”], does not show images in medium size but in thumbnail.

    Any idea how to fix it?

    Thanks greetings.

Viewing 1 replies (of 1 total)
  • Plugin Author keesiemeijer

    (@keesiemeijer)

    Hi eliasnp

    Check if it works by changing this

    
    $size = isset( $rpbt_args['size'] ) ? $size : 'thumbnail';
    

    to this

    
    $size = isset( $rpbt_args['image_size'] ) ? $rpbt_args['image_size'] : 'thumbnail';
    

    I think the documentation is wrong.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem format thumbnail_excerpt’ is closed to new replies.