Paginate PDF Galler
-
I’ve created a captioned PDF gallery that I would like to paginate. Here is the shortcode that works, as far as creating the gallery:
[mla_gallery attachment_category=id-articles orderby="date DESC" columns=5 mla_viewer=true size=full post_mime_type=application/pdf post_parent=all link=file mla_target=_blank] mla_caption='<h3><a href="{+file_url+}" target="_blank">{+title+}</a></h3><h6><b>Species Mentioned: </b>{+terms:attachment_tag+}</h6><h6><b>Date: </b>{+date,date(Y-m-d)+}</h6>' [/mla_gallery]
This code above displays all of the hundreds (and growing) files. What I would like to do is paginate the results in groups of 40. But when I use the following shortcode (which I’ve tried in various ways), it displays the pagination, but no files:
[mla_gallery attachment_category=id-articles orderby="date DESC" columns=5 posts_per_page=40 mla_output="paginate_links,prev_next" mla_viewer=true size=full post_mime_type=application/pdf post_parent=all link=file] mla_caption='<h3><a href="{+file_url+}" target="_blank">{+title+}</a></h3><h6><b>Species Mentioned: </b>{+terms:attachment_tag+}</h6><h6><b>Date: </b>{+date,date(Y-m-d)+}</h6>' [/mla_gallery]
I’m sure I’m missing or messing up something stupid, but no matter how I try formatting the shortcode, the result is the same.
Any guidance is greatly appreciated.
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Paginate PDF Galler’ is closed to new replies.