Title: MLA with Posts Table Pro
Last modified: August 20, 2019

---

# MLA with Posts Table Pro

 *  Resolved [lh23](https://wordpress.org/support/users/lh23/)
 * (@lh23)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/mla-with-posts-table-pro/)
 * Hi David,
    I am hoping to pass attachment_categories to Posts Table Pro to display
   in a PTP table. I have been unsuccessful so far an am not sure this is possible(
   although it seems like it should be).
 * Their help file suggest using the Enhanced Media Library plugin and gives the
   following method:
    Create a table listing documents from a specific category 
   only. To do this, edit the page where you added the [posts_table] shortcode and
   expand it by adding the category slug: [posts_table term=”media_category:cat1″](
   replace cat1 with the actual slug of your category).
 * Do you think there is comparable shortcode syntax that would pull data from MLA?
 * Thanks!

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

 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/mla-with-posts-table-pro/#post-11851248)
 * Thanks for your question and for including the name of the other plugin you are
   using. I assume you are referring to this premium plugin:
 * [Posts Table Pro, by BARN2media](https://barn2.co.uk/wordpress-plugins/posts-table-pro/)
 * The “Creating tables with specific posts based on category, taxonomy, custom 
   field, date & more” article in their Knowledge Base says that for “Custom Taxonomy
   term”:
 * >  Use the format: `term="<taxonomy slug>:<term slug or ID>"`.
 * The “Enhanced Media Library” plugin works much like MLA. It creates a custom 
   taxonomy, “Media Categories”, whose slug is `media_category`. MLA creates two
   custom taxonomies, “Att. Categories” and “Att. Tags”, whose slugs are `attachment_category`
   and `attachment_tag`. Any of these should work with Posts Table Pro.
 * For your example you can try something like:
 *     ```
       [posts_table term="attachment_category:cat1"]
       ```
   
 * Replacing “cat1” with the term slug of your choice. If you get the taxonomy slug
   and the term slug right, it should work fine.
 * For more advanced applications, you could also use the `[mla_gallery]` shortcode
   with the `mla_alt_shortcode` and `mla_alt_ids_name` parameters to let MLA select
   the items you want and let `posts_table` format the display. The example you 
   gave would be:
 *     ```
       [mla_gallery attachment_category=cat1 mla_alt_shortcode=posts_table mla_alt_ids_name=include]
       ```
   
 * That is more complicated and isn’t required for your example, but combining the
   shortcodes would let you use all of MLA’s data selection features which might
   give you more options than provided by `[posts_table]`. You can find more information
   in the “Support for Other Gallery-generating Shortcodes” section of the Settings/
   Media Library Assistant Documentation tab.
 * I am marking this topic resolved, but please update it if you have any problems
   or further questions regarding the above suggestions. Any additional details,
   such as the specific shortcode text you are using, will be helpful. Thanks for
   your interest in MLA.
 *  Thread Starter [lh23](https://wordpress.org/support/users/lh23/)
 * (@lh23)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/mla-with-posts-table-pro/#post-11851326)
 * Thank you! I was on the right track, it turned out that I also needed to specify
   that Posts Table Pro should search only for ‘attachments’ – the following code
   worked for me:
    [posts_table post_type=”attachment” term=”attachment_category:
   newsletter”]
 * Thanks for all of your always excellent support.

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

The topic ‘MLA with Posts Table Pro’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [lh23](https://wordpress.org/support/users/lh23/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/mla-with-posts-table-pro/#post-11851326)
 * Status: resolved