Thread Starter
expat
(@expat)
// Parameter set featured image as primary
if($gwfuncs['grid_wud_set_featured_img']=='1'){$wud_feat_image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID),'large');
//START EXTRA USER INPUTS
if ( function_exists( 'uses_nelioefi' ) && uses_nelioefi( $post->ID ) )
{ $wud_feat_image = array( nelioefi_get_thumbnail_src( $post->ID ) );}
//END EXTRA USER INPUT
$wud_feat_image=$wud_feat_image[0];
}
Any help please to pull the featured image from the pages, categories, tags and custom post types, thanks….
BTW, the above code produces the thumbnail and not the full source image? thanks
Please analyse the code:
get_post_thumbnail_id($post->ID),’large‘);
This means: largest image.
array( nelioefi_get_thumbnail_src( $post->ID ) );
This means the plugins standard picture (from: https://ww.wp.xz.cn/plugins/external-featured-image/)
Category images are not displayed, because the plugin shows posts and not categories.
Did you check also the setting:
Featured image
Set as primary to display: ?
Regards, Danny
Thread Starter
expat
(@expat)
oh sorry, there is a setting to select the thumb size in the settings
where is that last setting?
how can i add the categories images?
-
This reply was modified 9 years, 7 months ago by
expat.
It’s described in the manual on to of this page: https://wud-plugins.com/the-displayed-image/
β Featured image: If enabled it will the featured image if available..
Category images can be don by a plugin like: https://ww.wp.xz.cn/plugins/categories-images/
But they do not show up with Grid WUD.
Regards, Danny
Thread Starter
expat
(@expat)
is it resolved? π
when will you add support for custom content fields?
Hello,
This is resolved …
This was your question: “Page Featured Image? are you checking for the feature image of the Page if its been categorised?”.
Categories images are not supported there we are showing grids/tiles per post.
Featured images works like it should be and can be set in the settings page.
Can you please like requested before, start a new topic by new questions?
This gives us the opportunity to follow up/ answering and resolve questions/issues easier.
Thanks in advance.
Regards, Danny
Hello,
I made my own plugin: Category To Pages WUD.
This plugin works 100% with Grid-WUD
https://ww.wp.xz.cn/plugins/category-to-pages-wud/
About Category to Pages WUD
Easy to use categories / tags for pages, the same as it is for posts!
With settings page to enable/disable this feature.
Regards, Danny
Thread Starter
expat
(@expat)
SO DOES IT work to show featured images to Grid WUD?
Yes featured images works with Grid-WUD.
If not, show me a sample or let me know which plugin you are using for the featured images.
Regards, Danny