Display images that are not in the content
Display images that are not in the content
Display images that are not in the content
Customizing the attachement page to show rest of all images in a gallery from post
How can I use var php with javascript to build custom page? [closed]
I ended up figuring it out. I installed the wordpress plugin “Query Wrangler” which helped me build exactly what I was trying to figure out. What was the missing key was instead of the value being ” on the post where the custom field didn’t appear, I should have put ‘0’. Here’s the final working … Read more
How to change File URL in file uploaded to s3 compatible storage with self written plugin [closed]
Add the description field on the attached media
Insert woocommerce products programmatically with featured image and gallery
My educated guess is the issue comes from attachment being separate post type. It might seem like utility by purpose, but by nature it is specialized post type. Unfortunately your specific setup is not trivial to reproduce to confirm.
I posted a short how to add extra fields to categories and once you have that done you can link the attachment using the attachment URL or the ID of the attachment.
I think you can go about the filter list_terms_exclusions, but i don`t tested. example: function fb_list_terms_exclusions($args) { if ( ‘media-upload-popup’ != $where ) return $where; if ( !current_user_can(‘manage_categories’) ) $where = ” AND t.slug NOT IN (‘uncategorized’, ‘category-2’)”; // slug of categories return $where; } add_filter( ‘list_terms_exclusions’, ‘fb_list_terms_exclusions’ ); update for the comments to this … Read more