Title: Same shortcode, different output&#8230;
Last modified: April 3, 2021

---

# Same shortcode, different output…

 *  Resolved [pulger](https://wordpress.org/support/users/pulger/)
 * (@pulger)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/same-shortcode-different-output/)
 * Hi again!
 * Odd one this, I’m using this shortcode to list some .pdf files:
 * `[mla_gallery post_parent=all post_mime_type=all link=file mla_markup=ul attachment_category
   ='orkney_docs' mla_caption={+title+} orderby="date DESC" /mla_gallery]`
 * …now I had a couple of miscategorised documents, so I have changed their att,
   categories acordingly – all displays as expected while in admin, but normal visitors
   see the old listing.
 * I created a different test page using the exact same shortcode, and it outputs
   as expected for admin AND normal visitors.
 * I’m not running any cache plugins and I’ve hard refreshed in several browers 
   and platforms… weird, any ideas?
 * Many thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/same-shortcode-different-output/#post-14273694)
 * Thanks for an, um, interesting question. Odd indeed.
 * I can’t think of any explanation for the symptoms you are experiencing. I am 
   sure it is server/site related, not anything on the browser side. You don’t say
   specifically how you “**_changed their att. categories_**“, but again, I can’t
   think of anything that would behave differently for admin users.
 * When you say “**_normal visitors see the old listing_**” does that mean visitors
   who are not logged in at all?
 * For the items that are different, do all the term assignments look right on the
   Media/Assistant admin submenu or the Edit Media screen(s)? Are there any child
   terms below the `orkney_docs` term?
 * You can try looking at the SQL queries produced in the different cases by adding`
   mla_debug=log` to the shortcode and inspecting the error log. You could also 
   use the Query Monitor plugin. If you need more help to try that, let me know.
 * I will leave this topic unresolved for now. I regret I have no answers for you,
   but any additional information might be helpful. Thanks for your understanding
   and your continued interest in the plugin.
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/same-shortcode-different-output/#post-14285448)
 * I have just received another topic along the lines of this one:
 * [Files from new categories not being displayed when using shortcode](https://wordpress.org/support/topic/files-from-new-categories-not-being-displayed-when-using-shortcode/)
 * I am eager to investigate further, and any help you can provide is apricated;
   thanks.
 *  Thread Starter [pulger](https://wordpress.org/support/users/pulger/)
 * (@pulger)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/same-shortcode-different-output/#post-14287684)
 * Hi David,
 * I may have sent you on a bit of a wild goose chase I’m afraid! The site I’ve 
   recently inherited was indeed caching on the server side, I managed to have a
   thorough look through the hosting environment and discovered the server cache,
   and flushed that bad boy – problem solved!
 * Sorry to have wasted your time David!
 * Cheers, Neil.
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/same-shortcode-different-output/#post-14290489)
 * Thanks for the good news – never a waste of time. I’ll remember to suggest caching
   as a possible cause if this comes up in the future.
 * I am marking this topic resolved.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Same shortcode, different output…’ is closed to new replies.

 * ![](https://ps.w.org/media-library-assistant/assets/icon-256x256.png?rev=973502)
 * [Media Library Assistant](https://wordpress.org/plugins/media-library-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-assistant/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [David Lingren](https://wordpress.org/support/users/dglingren/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/same-shortcode-different-output/#post-14290489)
 * Status: resolved