Title: xls documents
Last modified: February 8, 2021

---

# xls documents

 *  Resolved [eblakely](https://wordpress.org/support/users/eblakely/)
 * (@eblakely)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/xls-documents/)
 * Great plugin, quick question….What is the syntax to include an xls document in
   the library. Tried a bunch of things and none worked. These are basic xlsx docs.
   Thank you.

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

 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/xls-documents/#post-14023024)
 * Thanks for the positive feedback on the plugin and for your question. I want 
   to make sure I understand what you mean by “**_include an xls document in the
   library._**”
 * Are you having trouble uploading these documents to the Media Library? By default,
   WordPress and MLA enable uploading xls, xlsb, xlsm and xlsx file types. If that’s
   not working, make sure they are listed as “active” in the Settings/Media Library
   Assistant Uploads tab submenu table.
 * Are you having trouble including these documents in an `[mla_gallery]` display?
   If so, you may need to add a MIME Type specification to your shortcode parameters.
   You can find the appropriate MIME Type values in the Settings/Media Library Assistant
   Uploads tab submenu table. For XLS documents the appropriate parameter would 
   be:
 *     ```
       post_mime_type=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
       ```
   
 * I know that’s an eyeful, but that’s what WordPress specifies. Don’t forget to
   add `post_parent=all` to the shortcode to return all matching items in the Media
   Library, not just those attached to the current post/page.
 * I will leave this topic unresolved for now. Let me know if I have not understood
   the question. Any additional details you can provide will be helpful. Thanks 
   for our interest in the plugin.
 *  Thread Starter [eblakely](https://wordpress.org/support/users/eblakely/)
 * (@eblakely)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/xls-documents/#post-14025596)
 * Hi Frank,
 * As you surmised, uploading wasn’t the problem, it was having the documents appear
   that was. Your code was perfect. Thank you for your quick response and very helpful
   plugin!
 * All the best,
 * ELB

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

The topic ‘xls documents’ 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: [eblakely](https://wordpress.org/support/users/eblakely/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/xls-documents/#post-14025596)
 * Status: resolved