WordPress.org

Forums

EG-Attachments
[resolved] Dont show attachments on specific post type (3 posts)

  1. originalconcept
    Member
    Posted 3 years ago #

    Hi, I would like automatic attachments appears on my normal posts (single.php) but they are also showing on my custom post types, how can I do to avoid showing attachments on this post types?

    Thanks

    http://wordpress.org/extend/plugins/eg-attachments/

  2. emmanuelg
    Member
    Plugin Author

    Posted 3 years ago #

    Hi

    Today the plugin doesn't provide this feature.

    Filtering is only using page, or post. The filtering is done in the function shortcode_is_visible in the file eg-attachments-public.inc.php.

    I will publish a new version (1.9.3) very soon. it's too late to add this feature in this version, but I will study it for the version 1.9.4

    Emmanuel.

  3. emmanuelg
    Member
    Plugin Author

    Posted 3 years ago #

    In the version 1.9.4, I added the detection of post types, and you can now select in the auto-shortcode options, the types where you want attachments to be displayed.

    Emmanuel.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic