Hi!
Do you still maintain your plugin ‘Multiple Post Thumbnails’?
If yes, when will you release a version which is tested with the current WP 6.0.2?
If no, please give advice which other plugin should be used instead of yours – thanks!
Kind regards,
Gerald
Hi!
Do you still maintain your plugin ‘Multiple Post Thumbnails’?
If yes, when will you release a version which is tested with the current WP 5.8.1?
If no, please give advice which other plugin should be used instead of yours – thanks!
Kind regards,
Gerald
Dear Chris,
as others, too, I am an enthusiastic user of your great extension.
You released the last version of it to years ago.
In the meantime WordPress claims, that your extension is not tested with the last 3 major releases of WordPress.
To be able to plan:
Please let your fans know, whether you plan to release a new version of your extension soon, or not.
Thank you very much in advance!
Kind regards,
Gerald
Hello,
Well with latest wordpress update this plugin is not working anymore.
Attached is the link to an error. Click here
Anyone knows how can i fix this.
Thanks
]]>Hello, thank you for your great plugin. But I have to ask, if you will update plugin Multiple Post Thumbnails for WordPress 5.3? Because it’s not working any more and is disrupting option to upload files via post using official Classic Editor.
]]>Hi!
When will you issue an update for the current WP version 5.2.3?
Kind regards,
Gerald
Hi, is it possible to use Multiple Post Thumbnails with GIFs, without losing animations? How?
Thank you!
]]>Hello,
I need to allow uploading multiple images from the front end, through a form for creating a new post.
Can You help me, please?
Thank You.
Hi,
I’m using this plugin for my site. Till 2 days it was working fine. But now when i click secondary image on the backend of any custom post type it doesnt open media box and it shows mediamodal is not defined. I have deactivated all the plugins and checked but there is no reflection. Please help me out to resolve this issue. Urgent issue . site is in live.
]]>Goodmorning :)!
Since a week I get a notification from WordFence about SEO smart links:
“The Plugin “Multiple Post Thumbnails” appears to be abandoned.”
My client loves the plugin and uses it on al his websites.
We really want to keep using the plugin.
The plugin isn’t updated in 2 or more years. Is the plugin still good? Can we keep using it? Of is it better to go look for another similar plugin?
Thanks in advance!
]]>I am trying to code out the if statement to output secondary image if present or set a default image. This is my current code:
<?php if (has_post_thumbnail($post->ID)) :
$image = MultiPostThumbnails::get_post_thumbnail_url(get_post_type( $post->ID ), ‘secondary-image’);
else :
$image = ‘https://noviastrategies.com/wp-content/uploads/2015/01/insights2.jpg’ ;
endif; ?>
<div id=”secondary_area” style=”background-image: url( ‘<?php echo $image; ?>’ )”>
I can output the secondary image, but the default will not show if secondary image is not present. Any advice?
Website is: https://noviastrategies.com
]]>Hi,
I’ve started using this plugin in 2016 and it was working fine for my posts.
I have then added a new custom post type and have modified the code in functions.php like this:
new MultiPostThumbnails(
array(
'label' => 'Secondary Image',
'id' => 'secondary-image',
'post_type' => array('post','testimonial')
)
);
It was working at first, but after WordPress update to 4.5.2 or 4.5.3 it stopped (half-way).
The “Secondary Image” image upload was still appearing in the right places, for both Posts and Testimonial posts, but on the front-end it wasn’t. It was working well with EXISTING thumbnails, but not with NEW thumbnails.
So I decided to get to the bottom of it.
In your wp_postmeta table, if you have MULTIPLE post types like I have above, the plugin creates a new row like this:
meta_id: 1111
post_id: 2222
meta_key: Array_secondary-image_thumbnail_id
meta_value: 3333
So it is obvious that the plugin simply doesn’t store correctly the meta_key in the table if you are using multiple post types.
The FIX to this is SIMPLE:
Go to /wp-content/plugins/multiple-post-thumbnails/multi-post-thumbnails.php and find line #444, it looks like this:
$this->set_meta($post_ID, $this->post_type, $this->id, $thumbnail_id);
change it to this:
$this->set_meta($post_ID, get_post_type($post_ID), $this->id, $thumbnail_id);
The issue is that the plugin uses the custom post type that is defined in your functions.php and uses it as a string ONLY when adding the meta field to the DB, it doesn’t check if it is an array or a string.
This fixes the issue, but you will have to re-apply your featured images to the posts in which it wasn’t working (as it wasn’t saving them correctly).
]]>So, downloaded and installed this, added code to the functions.php and aw the second image upload box appear in the admin panel.
That is where it all stops working.
I’ve added the next various php files inn the hope of having this work. Nothing did.
I’ve now unisntalled it and am looking for another similar plugin that works, or waiting until someone can tell me where I am going wrong so I can use this one again.
https://www.ads-software.com/plugins/multiple-post-thumbnails/
]]>https://github.com/voceconnect/multi-post-thumbnails/issues/102
any chance we can pay to make a small update to make it work for the new version of WP?
https://github.com/voceconnect/multi-post-thumbnails/issues/102
]]>HI,
How to add more images in thumbnail plugin. I have tried the “Quick start” guide but getting a single image upload and view.
Any help appreciated.
Thanks Sallu.
https://www.ads-software.com/plugins/multiple-post-thumbnails/
]]>My client would like to have a different thumbnail image that appears on the homepage and from the feature image that appears on the post page. Is that possible with this plugin?
Homepage – https://81b.ac4.mwp.accessdomain.com/
Post Page – https://81b.ac4.mwp.accessdomain.com/2016/05/trop-picks-almond/
So basically on the homepage she wants a different image to appear for that trop-picks-almond story but when you user clicks on the full post the current featured image should be there
https://www.ads-software.com/plugins/multiple-post-thumbnails/
]]><?php
if (class_exists(‘MultiPostThumbnails’)) :
MultiPostThumbnails::the_post_thumbnail(get_post_type(), ‘secondary-image’,get_the_ID(), array(130,130));
MultiPostThumbnails::the_post_thumbnail(get_post_type(), ‘third-image’,get_the_ID(), array(130,130));
MultiPostThumbnails::the_post_thumbnail(get_post_type(), ‘forthy-image’,get_the_ID(), array(130,130));
MultiPostThumbnails::the_post_thumbnail(get_post_type(), ‘fifty-image’,get_the_ID(), array(130,130));
endif;
?>
https://www.ads-software.com/plugins/multiple-post-thumbnails/
]]>On the home page?
https://www.ads-software.com/plugins/multiple-post-thumbnails/
]]>Hi, great plugin. I followed your FAQ on Github to output just the URL of the image but it returns nothing. Here is the code I am using for returns image URL only for blog page. Am I missing something?
$blog_id = get_option( 'page_for_posts' );
$blog_image = MultiPostThumbnails::get_post_thumbnail_url( get_post_type(), 'secondary-image', $blog_id, 'full' );
https://www.ads-software.com/plugins/multiple-post-thumbnails/
]]>I am using WPML plugin for translating posts. In the original language the secondary image is visible but when I translate the post it disappeared. How to solve this problem?
https://www.ads-software.com/plugins/multiple-post-thumbnails/
]]>hi there! i’ve been trying to change the thumbnails of my post’s featured images to the secondary featured image on mouse-hover.
installing the multiple post thumbnail plugin worked fine, i can select a secondary image but i’m having trouble implementing that hover option/effect.
SUMMARY:
-theme: Salient
-plugin for secondary featured image: Multiple Post Thmbnails
-tutorial i tried to use: https://www.scratchinginfo.net/hover-two-featured-images-wordpress-via-multiple-post-thumbnails-plugin/
-link to my texting-site: https://feeluna.com/offline/
-problem: when i hover over one of the thumbnails, i want the secondary image to appear, currently only the posts named ‘TEST…’ have a secondary thumbnail selected.
i tried inserting the bits & script as the tutorial above says, but it seems i need a custom solution for my theme…since i’m not allowed to post my themes code, it would be helpful if someone could check out the link to our test page i posted above and see via developer-tools how this could be done.
…we would be grateful for help and would like to pay you back for the favour!
Hi, I am using NewsPaper WordPress theme
Hello, I used Multiple Most thumbnail Plugin to add multiple thumbnail for single post. In Module 6 I found this code which display the first thumbnail
<?php echo $this->get_image('td_100x70');?>
In theme documentation the way to show secondary thumbnail the code is
<?php if (class_exists('MultiPostThumbnails')) :
MultiPostThumbnails::the_post_thumbnail(
get_post_type(),
'secondary-image'
);
endif; ?>
Please tell me how can I use this plugin in NewsPaper theme.
https://www.ads-software.com/plugins/multiple-post-thumbnails/
]]>Hi,
Does this plugin support multiple post types? For i have tried to add multiple post types in an array but it doesn’t work. See sample code below;
‘post_type’ => array(‘hotels, post, promotion’)
How do i do achieve this?
https://www.ads-software.com/plugins/multiple-post-thumbnails/
]]>Hi,
We’ll be upgrading to wordpress 4.3.1 soon, the description page indicates this has been tested up to 4.1.8. Anyone have any trouble with it in 4.3.1?
Thanks!
https://www.ads-software.com/plugins/multiple-post-thumbnails/
]]>Hi, I’m using the plugin with custom post types, and I require changing the custom post slug.
But when I do I lose the featured images associated with the post…
Is there any way I could migrate the associated images with the posts when I rename the slug?
Let me know!
https://www.ads-software.com/plugins/multiple-post-thumbnails/
]]>hello, i’ve read a lot of different topics about my problem. but can’t seem to find any solution..
I have articles, each of them have two thumnails. The main one, and the secondary-thumbnail one, generated with multiple post thumbnails.
I’m trying to return only the URL of the secondary image, in my single.php as an inline CSS.
my code is like that :
<div class="article-img" style=" background-image: url(
<?php $src = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), array(1900,800), false, ” ); echo $src[0];?>); background-size:cover;">
</div>
what am I supposed to do ? I’ve pretty much tried everything. I know that at the moment it returns the URL of the main Thumbnail. Don’t know how to change that.
thank you in advance.
Estelle
https://www.ads-software.com/plugins/multiple-post-thumbnails/
]]>Hi,
Is there a simple way of modifying the function below to call the secondary featured image?
if ( has_post_thumbnail() ) {
wp_localize_script( 'backstretch-init', 'BackStretchImg', array( 'src' => wp_get_attachment_url( get_post_thumbnail_id() ) ) );
}
Any assistance would be much appreciated.
Thanks
Darrell
https://www.ads-software.com/plugins/multiple-post-thumbnails/
]]>MultiPostThumbnails can not be added to the solution in series Yosat sitemap
https://www.ads-software.com/plugins/multiple-post-thumbnails/
]]>Hi,
Everything was working fine for me until I updated WordPress 4.2.2.
Since then, the plugin Visual Composer is not working anymore when Multiple Post Thumbnails is activate. If I deactivate it, Visual Composer works.
How could I fix that?
Thank you,
Pol
https://www.ads-software.com/plugins/multiple-post-thumbnails/
]]>By default the image class is “attachment-post-thumbnail” How can I edit the class?
Thanks
https://www.ads-software.com/plugins/multiple-post-thumbnails/
]]>