Hey Bill, I installed your gallery metabox plugin but im only able to see it in pages but not post and custom post type. is it cuz im using the newest wordpress?
Thanks
Felix
Hey Bill, I installed your gallery metabox plugin but im only able to see it in pages but not post and custom post type. is it cuz im using the newest wordpress?
Thanks
Felix
By default it should only show up on 'post' and 'page' post types. You'll need to use the 'be_gallery_metabox_post_types' filter to define new ones:
http://www.billerickson.net/code/gallery-metabox-custom-post-types/
hey bill, thanks for help. I have the meta box working.
when you add a new post, page or custom post type, the gallery image metabox wont show up. You must create the post first in order to see the meta box.
Yes, this is something I'll be fixing in the next version (there's a few other small tweaks I want to make as well, which is why I didn't push out an update for this).
If you want to edit your plugin to add the change yourself, change line 37 of gallery-metabox.php from this:
if( !isset( $post_id ) ) return;
to this:
if( !isset( $post_id ) ) $post_id = false;
Oh cool thanks for help :)
This topic has been closed to new replies.