Media Tags
Fix for slow get_attachments_by_media_tags function (5 posts)

  1. shawnstott
    Posted 3 years ago #

    I love media tags, but the multiple get_posts calls with the lack of efficiency forced me to make some alterations to the core script to implement a single custom query and remove a handful of others. The result was a base time change (in my scenario anyway) of a 12 second script time to about .5 second script time. If anyone is interested contact me and I'll send you the script update.



  2. jon-tlmi
    Posted 3 years ago #

    Hi Shawn

    I'd be interested in taking a look, but I'm a wordpress.org newbie and not sure how to direct message you.


  3. onetrev
    Posted 3 years ago #

    Hey Shawn,

    I am experiencing the same issues with Media Tags on a couple of my sites. Have you contacted the plugin author and sent along your edits to them? Hopefully, you have because it really sounds like this should be implemented into the plugin core.

  4. boomish
    Posted 2 years ago #

    I'd love to know this also, Shawn any chance of updating this to let know if it's still available?

  5. Paul Menard
    Plugin Author

    Posted 2 years ago #


    Would love to see what you have done converting the queries. Can you provide github or zip archive of the changes? Trying to update Media-Tags. I know the old queries are all pre-custom post types era.

    If you don't want to post here you can email me direct to

    paul [at] codehooligans.com

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Media Tags
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic