Title: List items
Last modified: August 31, 2016

---

# List items

 *  Resolved [Some_Bored_Dude](https://wordpress.org/support/users/some_bored_dude/)
 * (@some_bored_dude)
 * [10 years ago](https://wordpress.org/support/topic/list-items-1/)
 * Hello Team,
 * First of all, this is a great plugin. I’ve been trying to many throughout the
   last few days and this is so far the most easiest.
 * I’m trying to achieve listing the items into a single list instead of a big image(
   such as the big PDF icon). Here is an image of what I have and what I’d like 
   to achieve:
 * [http://imgur.com/wxaKM7b](http://imgur.com/wxaKM7b)
    (Can ignore the big space,
   I think thats my theme related).
 * Currently my short code is the following…
    [mla_gallery post_parent=all columns
   =1 post_mime_type=application/pdf size=icon mla_caption=”{+title+} – {+terms:
   attachment_category+}”] … though I have a feeling I might need to play with the
   MLA Gallery template options.
 * Hope this all makes sense. Thankyou in advance!
 * Cheers,
    Rod.
 * [https://wordpress.org/plugins/media-library-assistant/](https://wordpress.org/plugins/media-library-assistant/)

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

 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [10 years ago](https://wordpress.org/support/topic/list-items-1/#post-7181161)
 * On behalf of the entire team (it’s just me), thanks for the positive feedback.
 * Here’s an earlier topic with lots of information on creating more compact lists
   of PDF documents:
 * [Basic pdf list with pdf icons](https://wordpress.org/support/topic/basic-pdf-list-with-pdf-icons?replies=17#post-7807386)
 * The post I linked to covers the basics of a custom markup template you can adapt
   for your application. Scroll up to the earlier posts for additional discussion
   of the overall topic. Here is a much older topic with links to additional topics
   along the same lines:
 * [Simple list](https://wordpress.org/support/topic/simple-list-1?replies=4#post-6654436)
 * To get a clickable link to the document you can adapt these suggestions:
 * [Attachment title as link](https://wordpress.org/support/topic/attachment-title-as-link)
 * That should get you started on a solution for your application. I am marking 
   this topic resolved, but please update it if you have any problems or further
   questions regarding the solutions in the above topics. I am confident that MLA
   can give you the results you seek and I want you to get the most out of the plugin.
   Thanks for your interest.
 *  Thread Starter [Some_Bored_Dude](https://wordpress.org/support/users/some_bored_dude/)
 * (@some_bored_dude)
 * [10 years ago](https://wordpress.org/support/topic/list-items-1/#post-7181190)
 * G’day David,
 * Thankyou for the feedback. You were right to mark it solved, it’s working as 
   expected :D, even included the search from another form. I’ll include my work
   and code below for anyone else interested…
 * Here’s my end result: [http://imgur.com/dQre7Yx](http://imgur.com/dQre7Yx)
 * This is the code of my page…
 *     ```
       <h1>Document Search</h1>
       <form id="mla-search-form" action="." method="post">
       <input id="mla-search-box" name="search-string" type="text" value="" />
       <input id="submit" name="submit" type="submit" value="GO" />
       </form>
   
       [mla_gallery post_mime_type=all post_parent=all attachment_category=document-library columns=1 mla_markup=document-list-view s="{+template:({+request:search-string+}|a-bad-term)+}" mla_nolink_text="No files to show" posts_per_page=50 mla_output="paginate_links,prev_next" mla_link_href="{+page_url+}?search-string={+request:search-string+}"]
   
       [mla_gallery post_mime_type=all post_parent=all attachment_category=document-library columns=1 mla_markup=document-list-view s="{+template:({+request:search-string+}|a-bad-term)+}" mla_nolink_text="Enter a search value above to find what you need" posts_per_page=2]
   
       <br />
       <h2>Document Library</h2>
       [mla_gallery post_mime_type=all post_parent=all attachment_category=document-library columns=1 mla_markup=document-list-view posts_per_page=50]
       ```
   
 * On the MLA Gallery page for the template…
    Name: (Really whatever you want) `
   document-list-view`
 * Open:
 *     ```
       <table id='[+selector+]' class='gallery galleryid-[+id+] gallery-columns-[+columns+] gallery-size-[+size_class+] tablepress'>
       <caption style="caption-side:bottom;text-align:left;border:none;background:none;margin:0;padding:0;"></caption>
       <thead>
       <tr>
       <td><strong>Item</strong></td>
       <td><strong>Type</strong></td>
       <td><strong>Author</strong></td>
       <td><strong>Category</strong></td>
       <td><strong>File Type</strong></td>
       <td><strong>Modified</strong></td>
       </tr>
       </thead>
       <tbody class="row-hover">
       ```
   
 * Row Open:
    `<tr class='gallery-row'>`
 * Item:
 *     ```
       <td>[+filelink+]</td>
       <td>[+description+]</td>
       <td>[+author+]</td>
       <td>[+terms:attachment_category+]</td>
       <td>[+post_mime_type+]</td>
       <td>[+modified+]</td>
       ```
   
 * Row Close:
    `</tr>`
 * Close:
 *     ```
       </tbody>
       </table>
       ```
   
 * I have tablepress installed so I’ve added some tablepress classes, in particular
   the row highlight on hover
 * This plugin is very flexible. I highly recommend it to anyone! You’ve done a 
   great job David 🙂
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [10 years ago](https://wordpress.org/support/topic/list-items-1/#post-7181191)
 * Thank you for your update and for taking the time to post the results of your
   development. You have done quite a lot of good work in a very short time!
 * If there’s anything else I can do, post an update or start a new topic. Thanks
   again!

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

The topic ‘List items’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [David Lingren](https://wordpress.org/support/users/dglingren/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/list-items-1/#post-7181191)
 * Status: resolved