jchristopher / attachments

[WordPress Plugin] Attachments allows you to simply append any number of items from your WordPress Media Library to Posts, Pages, and Custom Post Types
wordpress.org/extend/plugins/attachments/
GNU General Public License v2.0
241 stars 78 forks source link

'post_type' is ignored #156

Closed petehotchkiss closed 6 years ago

petehotchkiss commented 8 years ago

In setting up a new post type in the themes functions.php file, it would appear that the attachments box appears in all post types regardless of whether or not lits listed in the 'post_type' array property

$args = array( 'label' => 'Insights Attachments', 'post_type' => 'post',

...

However in the WP console, other post types ( i.e. pages ) AND custom types - for example one called product - it appears in there, when it's not required.

Am I missing something?

jchristopher commented 6 years ago

Hello, given the age of this Issue I'm going to mark it as Closed but if this is still a problem please comment here!