It works with External Featured Images
-
Hi, I am using Nelio External Featured Images for my webpage. This is what I did to bring this image and not any of the others that are on the post:
Edit –> /pages/grid-wud-base.php
[ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]
// Parameter set featured image as primary if($GLOBALS['gwfuncs']['grid_wud_set_featured_img']=='1') {$wud_feat_image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID),'large'); // What I included - BEGIN if ( function_exists( 'uses_nelioefi' ) && uses_nelioefi( $post->ID ) ) { $wud_feat_image = array( nelioefi_get_thumbnail_src( $post->ID ) );} // What I included - END }
The bad news is that you have to edit this any time there is an update of the plug in, but it worth. The good news is there is no need to hurry to do it because the plugin itself takes another image instead.
Hope this help.
Cheers
- The topic ‘It works with External Featured Images’ is closed to new replies.