network-media-library icon indicating copy to clipboard operation
network-media-library copied to clipboard

Theme Support: Enfold

Open mkormendy opened this issue 5 years ago • 1 comments

I'm attempting to use this plugin with the Enfold theme. Unfortunately they use the wp_get_attachment_image_src method along with the get_posts method to get the image attachment posts for that post/page and then further get the image src with an associated ID, which, if the ID doesn't exist (or is not the correct ID because it's associating locally) on the sub-site it can't get the correct post-type for the image associated with the native post/page.

I've tried to hack the theme by determining if this plugin is active, and if so switch the context to the site which has the global media library. That works, but then images that are uploaded to the non-global media library site end up not working after. There's no way to determine if an attachment image is local or global.

mkormendy avatar May 02 '19 17:05 mkormendy

Any news on this? Did you find a workaround?

kl-projects avatar Sep 21 '19 06:09 kl-projects