Thanks for the good words and for your question. You can find a simple example of a paginated [mla_gallery] towards the end of this recent support topic:
Simple Shortcodes
You can find more information about all the MLA pagination options in the “Support for Alternative Gallery Output, e.g., Pagination” section of the Settings/Media Library Assistant Documentation tab.
I am marking this topic resolved, but please update it if you have any problems or further questions about paginating your [mla_gallery] galleries. Thanks for your interest in the plugin.
I checked and read all of them what you gave me, but still can not make sense. Too much information and it’s too complicated for me. Is there any simple way?
Thanks.
It is true that pagination can get complicated, but the essential elements are straightforward. All you need is a post or page with two [mla_gallery] shortcodes. One shortcode will display the gallery items and the second shortcode will display pagination controls to move from page to page within the gallery; the data selection parameters must be identical in both shortcodes.
Here is the simplest example I can think of:
[mla_gallery post_parent=all posts_per_page=6]
[mla_gallery post_parent=all posts_per_page=6 mla_output=paginate_links]
The first shortcode displays the gallery. The data selection parameter is post_parent=all, which will select all of the images in your Media Library. The posts_per_page=6 parameter will divide the gallery into pages of six images each.
In the second shortcode, mla_output=paginate_links tells the shortcode to display pagination controls instead of the gallery images.
That’s it! When you display the page or post in which the shortcodes appear you will see the first six images in the gallery, with links below the gallery to go to each gallery page, e.g., “1 2 3”. When you click on any of these links the post/page will refresh and display the appropriate page of your gallery. If you look at the URL for these links you can see the mla_paginate_current parameter that MLA adds to communicate the page number back to the gallery display shortcode. MLA will manage that parameter for you in most cases.
You can enhance the pagination controls by coding mla_output="paginate_links,prev_next", which will display something like “« Previous 1 2 3 Next »”. There are lots of other options you can use to do more advanced applications.
I hope that gets you started with paginating your galleries. I am marking this topic resolved, but please update it if you have specific questions or problems with your application. Thanks again for your interest in the plugin.
I appreciate you about big support. But it did not work properly. I guess my theme is not suit for gallery pagination. Need to find other lightweight gallery plugin instead.
Thank you so much!!!