![]() WordPress automatically renames files if it detects the same name being used in the media library. The ideas brought forth from that conversation are available on the blog and is a potential roadmap for taxonomy meta and post relationships in WordPress. Within the discussions, the Posts 2 Posts plugin is commonly referred to as a top-notch plugin that offers this functionality.īefore the Community Summit in October of 2012, Andrew Nacin and a host of other WordPress developers came together to discuss the subject in detail. Both contain lengthy, technical discussions, on how to add support for many-to-many relationships between posts and attachments in WordPress. In trying to figure out why this is, Justin Tadlock pointed out two Trac tickets, 1063. I could browse to every post and manually change it but my memory isn’t that good and it’s a tedious process. In other words, the first post the image is attached to is the only information WordPress has on where it’s being used. This is due to the attachment relationship. I can’t determine which posts are using the image because WordPress only sees it being used on the parent post. I also can’t change the image for specific posts automatically, it’s either all or nothing. If I want to change the featured image in one post and have it change in every other post, I can’t. Let’s say I use a featured image for a post and it’s the featured image for several other posts. Why Knowing Where An Image Is Used Comes In Handy ![]() It’s important to note the difference between an image attached to a post and using an image already available in the media library. Although you can view the parent post ID the image is attached to, you can’t locate each post the image is used on. I find this information to be useful, especially for multi-author websites. You’ll be able to view the author who uploaded the image and the post parent ID it’s attached to. WordPress 4.0 is expected to ship by the end of August and contains two subtle changes to image data in the media library. Something I’ve wanted to see in WordPress for a long time is the ability to determine which posts an image is being used on.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |