• Resolved dmautz

    (@dmautz)


    It would be nice to be able to choose what post types the plugin pertains to. For example, I would like it on some of my custom post types but not pages.

    Mainly so I can use it for images on those post types and it will ignore the images attached to pages and regular posts.

    Thanks! Great plugin!

    https://ww.wp.xz.cn/plugins/wp-attachments/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dmautz

    (@dmautz)

    The deactivation and deletion works on featured images. Basically my less tech savvy users wouldn’t know to do that. So just having it deactivate by default on a specified post type would work great.

    Plugin Author Marco Milesi

    (@milmor)

    Hi @dmautz,
    at the moment it’s not possible but of course is a planned feature. Thank you for the feedback! The idea of having it deactivated by default for choosen post types is great 🙂

    NVM, you can hack the function wpatt_job_cpt_template_filter($content) found in wp-attachments.php.

    Please note that if you click delete in WP-Attachments metabox the real file will be deleted. Instead, you could use the un-link feature that remove the association between file and content id.

    Regards,
    MM

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Choose post types’ is closed to new replies.