Plugin Not Working On Fashionista Theme
-
Nelio External Featured Image Not compatible with my theme Fashionista, I do not have the ” the_post_thumbnail ” code, the code that appears is wp_get_attachment_url(get_post_thumbnail_id()), help me not image appears
There’s a file in framework folder named “function.php” there’s a code which I think needs to be edited. I have tried everything, but couldn’t make it work.
//add thumbnails to post view add_filter('manage_posts_columns', 'wpex_thumbnail_column', 5); add_action('manage_posts_custom_column', 'wpex_custom_thumbnail_column', 5, 2); if( ! function_exists('wpex_thumbnail_column')) { function wpex_thumbnail_column($defaults){ $defaults['wpex_post_thumbs'] = __('Thumbs','wpex'); return $defaults; } } if( ! function_exists('wpex_custom_thumbnail_column')) { function wpex_custom_thumbnail_column( $column_name, $id ){ if( $column_name != 'wpex_post_thumbs' ) return; if(has_post_thumbnail()) { echo '<img src="'. aq_resize( wp_get_attachment_url(get_post_thumbnail_id()), 80, 80, true ) .'" />'; } else { echo '-'; } } }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Plugin Not Working On Fashionista Theme’ is closed to new replies.