Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your interest in the plugin and for your question. Without seeing the source text of the shortcode you have added to your page, I can only give you some general advice.

    A good place to start is a simple shortcode that displays some of your PDF documents:

    [mla_gallery post_parent=all post_mime_type=application/pdf link=file numberposts=20]

    In this shortcode:

    • post_parent=all – select all items, not just those attached to the current post/page
    • post_mime_type=application/pdf – select PDF documents (the default is images)
    • link=file – go directly to the document when you click on a thumbnail, not to the “attachment page” for the item
    • numberposts=20 – show the first 20 items (in case you have hundreds in your Media Library)

    Your wrote “added media files (PDFs >1MB) to categories“. If you mean the MLA “Att. Categories” taxonomy, you can replace the post_parent=all parameter with something like attachment_category=some-category-slug. If you mean the WordPress “Categories” taxonomy, you can use something like category_name=some-slug (the WordPress paremeter name) or category=some-slug (MLA synonym for category_name. Make sure you are using the correct slug/name value for the term, not the title value; this can be confusing.

    I hope that helps get you the results you want. I will leave this topic unresolved for now; any additional information you can give me will let me be more specifically helpful.

    Plugin Author David Lingren

    (@dglingren)

    It has been four weeks since my last post and I have not heard anything further on this topic. I assume you found a solution to your PDF display question.

    I am marking this topic resolved, but please update it if you have any problems or further questions regarding the suggestions I gave or other aspects of displaying galleries of PDF documents. Thanks for your interest in the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not working’ is closed to new replies.