Thank you for the kind words and for your questions.
The mla_output
parameter lets you choose between a gallery display and several types of pagination controls. Each [mla_gallery]
shortcode can generate either a gallery display or pagination controls, but only one or the other. To get the results you want you need two [mla_gallery]
shortcodes. The “MLA Gallery Examples” section of the Settings/Media Library Assistant Documentation tab includes this simple example:
A Paginated Gallery
If your gallery display includes a large number of items it may be useful to divide the display into “pages” with a fixed upper limit of items per page. The Support for Alternative Gallery Output, e.g., Pagination section explains several ways to do that; here is one example:
[mla_gallery attachment_category=big-dog posts_per_page=12]
[mla_gallery attachment_category=big-dog posts_per_page=12 mla_output="paginate_links,prev_next"]
Put both of these shortcodes on a post or page to display a paginated gallery. The first [mla_gallery]
displays the images assigned to attachment_category=big-dog
and displays a maximum of 12 images at once. The second [mla_gallery]
has exactly the same data selection parameter and posts per page parameter; that’s essential to match up with the first shortcode. It adds one more parameter, mla_output
. This parameter changes the display from a set of images to a set of pagination controls.
MLA will add and manage a “current page” parameter of its own so the two shortcodes stay in synch as you navigate from page to page. That’s all there is to it.
There are additional examples in the “Support for Alternative Gallery Output, e.g., Pagination” section of the Documentation.
You wrote “when I use mla_output=list the whole list disappears. There is no list
value for the mla_output
parameter. I am not sure why the whole list disappears, but if you post the entire source text of the [mla_gallery]
shortcode you are using I can give you some guidance. You can also find quite a bit of information in this earlier topic and the topics it links to:
Simple list
I hope the above suggestions help you get the results you need. I am marking this topic resolved, but please update it if you have any problems or further questions regarding pagination and PDF lists. Thanks for your interest in the plugin.