Automatically use secondary image, not featured
-
Hi Ajay,
We’ve implemented a new meta box in the WordPress admin area to allow user to upload a featured image then displayed in the post and a separate thumbnail for article listings elsewhere.
Is there anyway we can manipulate the plugin to automatically pull in this new thumbnail, rather than the featured image?
Thanks!
Here’s a snippet of the function used to implement out thumbnail meta box:
/* Multiple Post thumbanails */
if (class_exists(‘MultiPostThumbnails’)) {
new MultiPostThumbnails(array(
‘label’ => ‘Thumbnail’,
‘id’ => ‘secondary-image’,
‘post_type’ => ‘post’
) );
}
https://www.ads-software.com/plugins/contextual-related-posts/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Automatically use secondary image, not featured’ is closed to new replies.