Can’t get pagination to work

[ad_1]

Seems like a great plugin, but I’ a’m unable to make pagination work. I have tried examples from documentation, this works:

[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"]

This doesn’t show pagination:

[mla_tag_cloud taxonomy=attachment_category number=0 mla_link_href="https://projectdmc.org/support/topic/cant-get-pagination-to-work-3/{+page_url+}?term_slug={+slug+}"]
 
[mla_gallery attachment_category="{+template:({+request:term_slug+}|a-bad-term)+} posts_per_page=12" mla_output="paginate_links,prev_next" mla_link_href="{+page_url+}?term_slug={+request:term_slug+}"]

[mla_gallery attachment_category="{+template:({+request:term_slug+}|a-bad-term)+}" posts_per_page=12 mla_nolink_text="Click a term to display the gallery."]

it’s wrong in the documentation. This is how it works:

[mla_tag_cloud taxonomy=attachment_category number=0 mla_link_href="https://projectdmc.org/support/topic/cant-get-pagination-to-work-3/{+page_url+}?" term_slug="{+slug+}"]
 
[mla_gallery attachment_category="{+template:({+request:term_slug+}|a-bad-term)+}" posts_per_page="12" mla_output="paginate_links,prev_next" mla_link_href="{+page_url+}" term_slug="{+request:term_slug+}"]
 
[mla_gallery attachment_category="{+template:({+request:term_slug+}|a-bad-term)+}" posts_per_page=12 mla_nolink_text="Click a term to display the gallery."]
  • This topic was modified 4 minutes ago by bhasic.
  • This topic was modified 4 minutes ago by bhasic.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer