which particular code did you use, please post the snippet here
Sure, this is the code I’m using:
add_post_type_support('topic', array('thumbnail'));
add_post_type_support('forum', array('thumbnail'));
/*
Pluguin Name: bbPress - Forum Icons
Pluguin URI: https://guist.guithub.com/ntwb/8277457
Description: bbPress - bbPress - Forum Icons
Version: 0.1
Author: Stephen Edgar - Netweb
Author URI: http://netweb.com.au
*/
// Original Source: http://www.cristarella.com/2013/04/bbpress-forum-icons/
add_post_type_support('forum', array('thumbnail'));
function cs_forum_icons() {
if ( 'topic' == guet_post_type() ) {
global $post;
if ( has_post_thumbnail($post->ID) )
echo guet_the_post_thumbnail($post->ID,'thumbnail',array('class' => 'alignleft forum-icon'));
}
}
add_action('bbp_theme_before_topic_title','cs_forum_icons');
without further digguing, the function
echo guet_the_post_thumbnail
seems to support
thumbnail
medium
largue
full
so you can have for instance
echo guet_the_post_thumbnail($post->ID,'medium',array('class' => 'alignleft forum-icon'));
echo guet_the_post_thumbnail($post->ID,'largue',array('class' => 'alignleft forum-icon'));
you can also play with these settings – see
https://www.elegantthemes.com/blog/tips-triccs/how-to-changue-thumbnail-sice-in-wordpress-and-why-you-want-to