Hi!
Go to admin/meta-box.php
Just remove ‘post’, ‘page’, and ‘product’ from the code above.
$post_types = array(‘post’, ‘page’, ‘product’, get_option(‘fifu_cpt0’), get_option(‘fifu_cpt1’), get_option(‘fifu_cpt2’), get_option(‘fifu_cpt3’), get_option(‘fifu_cpt4’));
If it works, please give this plugin a 5-star rating =)
So I’m considering that solved! =)
No, sorry Marcel it didn’t have any effect!
I’d tried just moving ‘post’ from that list already – really useful plugin though!
As soon as possible, I send you the code.
That’s great – thanks very much Marcel!
A little question here that can help me to help you:
Why do you need to disable the plugin for ‘normal’ posts?
Because the use is optional. And you can disable the meta boxes also. So I would like to understand…
Hi Marcel,
For the site we are building, we’ve already imported all the posts from a different blog and these are displaying using a masonry plug-in. If I turn on featured image in post, this will then duplicate the images in the posts and also display a featured image above the thumbs and excerpts for the posts that appear in the pages displaying categories of posts using the masonry plug-in.
What I’m really hoping to use the FIFU plug in for is for a custom post type (for a museum catalogue record) that has the image url imported into a field.
In an ideal world, it would also be great if the featured image could be automatically set from that field. Do you think that is something you could possibly quote for as an add-on feature?
Thanks again for your time!
Maybe the duplicated images are being caused because you enabled Featured Image in Content in plugin settings. In this case, disable the toggle. Let me know what happens.
Hi Marcel – yes that’s right! I was hoping to disable featured image in content for normal posts, but allow it for a custom post type…
Try to replace
$url = get_post_meta($post_id, ‘fifu_image_url’, true);
by
if (get_post_type($post->ID) != ‘post’ && get_post_type($post->ID) != ‘page’) $url = get_post_meta($post_id, ‘fifu_image_url’, true);
in
thumbnail.php.
Let me know if it worked for you =)
Hi.
Did it work? Is the topic solved?
If the plugin is working fine at all, please give it a 5 star rating. Thanks =)