Support » Plugin: EG-Attachments » [Plugin: EG-Attachments] Dont show attachments on specific post type
5 years, 3 months 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?
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
5 years, 2 months 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.