• Resolved sbanner26

    (@sbanner26)


    I would just like a list of titles of pdf’s that the client will upload and mark with the appropriate category. They will be adding files weekly. I have used the following code to do exactly this on a different site with no problem but on this site, the same code results in a grid of pdf icons. Not sure why it’s working on one site but not the other? I checked the settings and everything is identical.

    [mla_gallery post_parent=all post_mime_type=application/pdf link=file mla_target=”_blank” attachment_category=bulletin-2019 orderby=”date DESC”]

    Thanks!

    The page I need help with: [log in to see the link]

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

    (@dglingren)

    Thanks for your question and for the link to your example page; very helpful.

    My best guess as to why the two sites are different is that one site has ImageMagick and Ghostscript installed (the 3-column icons) and the other does not (list of titles).

    The easy way to get the list you want is to add a couple of parameters to your shortcode:

    [mla_gallery post_parent=all post_mime_type=application/pdf link=file mla_target="_blank" attachment_category=bulletin-2019 orderby="date DESC" columns=1 size=none]
    

    The size=none parameter will suppress the page-preview thumbnails and display a list of the item titles. The columns=1 parameter will ensure that only one item appears in each “row” of the gallery.

    I hope that gets you the results you seek. I am marking this topic resolved, but please update it if you have problems or further questions regarding the above suggestions. Thanks for your interest in the plugin.

    Thread Starter sbanner26

    (@sbanner26)

    Perfect! Just need to style it a little and we’re good to go. Thank you David!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Simple text list of pdf files’ is closed to new replies.