• Resolved jackson2545

    (@jackson2545)


    Hello, your plugin seems very robust! However, all I’m trying to achieve is a listing of the PDFs that I’ve added to my WordPress Media folder each having an att.category assigned. I would like to see it in one of these formats:

    1) a PDF icon with the text of the filename to the right of it, all of these in 2 columns.

    or

    2) a PDF icon with the text underneath, all of these in a grid format.

    How can I do this?

    thank you!

    https://www.ads-software.com/plugins/media-library-assistant/

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

    (@dglingren)

    Thanks for your feedback and for your question. Creating an [mla_gallery] for your PDF documents is straightforward.

    To create a grid display with the file name as a caption you can start with something like this:

    [mla_gallery attachment_category=some-term post_mime_type=application/pdf size=icon mla_caption="{+file_name+}"]

    Where some-term is the “slug” of the term you want to filter the display by.

    To display “a PDF icon with the text of the filename to the right of it, all of these in 2 columns” you can create a custom markup template along the lines of “A Table-based Style and Markup Template Example”, which you can find in the Settings/Media Library Assistant Documentation tab.

    I hope that gets you started on displaying PDF documents using [mla_gallery] you can find many other parameters for the shortcode in the Documentation tab.

    I am marking this topic resolved, but please update it if you have any problem or further questions regarding the display of PDF items in your Media Library. Thanks for your interest in the plugin.

    Thread Starter jackson2545

    (@jackson2545)

    Thank you for your reply. Unfortunately, in scenario 1, my filename doesn’t show-up under the icon. There is no text.

    Plugin Author David Lingren

    (@dglingren)

    Thanks for your reply; I’d like to get some additional details so I can help you get the results you want.

    You wrote “in scenario 1“; is that “PDF icon with the text of the filename to the right of it” or the example I gave you, “a PDF icon with the text underneath”? Can you include the complete text of the shortcode you are using?

    If you are working with the “table-based” example and need more specific help, let me know.

    Thanks for any additional information you can give me.

    Thread Starter jackson2545

    (@jackson2545)

    Here’s what I’m using:
    [mla_gallery attachment_category=some-term post_mime_type=application/pdf size=icon mla_caption="{+file_name+}"]

    I have changed some-term to my own att-category name that I have applied to the PDFs.

    I only see the PDF icons, I don’t see any text.

    Plugin Author David Lingren

    (@dglingren)

    Thanks for posting your shortcode, which looks pretty similar to the example I gave you; identical, in fact.

    On my test system the example works flawlessly (of course). When you say “I don’t see any text“, does that mean the caption area below the icon is blank, or does it contain the {+file_name+} literal?

    Could you try something like mla_caption="File: '{+file_name+}'" and tell me if it is still blank, or what it looks like?

    If the page is available on the Internet, could you post a link to it so I can see the HTML source it generates?

    Thanks for your patience; this is an odd issue.

    Thread Starter jackson2545

    (@jackson2545)

    No, no change. And I don’t see any type of text, it is still blank.

    Unfortunately the site is not yet public.

    Thank you for your help with this. I really would like to make this work.

    Thread Starter jackson2545

    (@jackson2545)

    Also I notice when you click the pdf icon, it opens what looks like a blog post with the pdf link text on it.

    Plugin Author David Lingren

    (@dglingren)

    How strange!

    You can add link=file to your shortcode if you want to go directly to the PDF document. The default, link=page goes to the Media Page/Attachment Page for the item.

    Can you use your browser’s “View Source” to capture the complete HTML code of the page? If so, give me your contact information and I will respond with an address you can use to send it to me. You can use the Contact Us page at our web site:

    Fair Trade Judaica/Contact Us

    Thanks for working with me on this issue.

    Plugin Author David Lingren

    (@dglingren)

    It has been a month since my last post to this topic. Since I have not heard anything further from you I assume you have found 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 PDF captioning aspects of your application. Thanks for your interest in the plugin.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Just a simple PDF list’ is closed to new replies.