Different Pagination Offset
-
Assume I have these shortcodes:
[mla_gallery numberposts=1 attachment_category="the-cat" date_query="array('before' => 'first day of -1 month')"] [mla_gallery numberposts=1 attachment_category="the-cat" date_query="array('before' => 'first day of -2 month')"] [mla_gallery numberposts=1 attachment_category="the-cat" date_query="array('before' => 'first day of -3 month')"] [mla_gallery numberposts=1 attachment_category="the-cat" date_query="array('before' => 'first day of -4 month')"] [mla_gallery numberposts=4 attachment_category="the-cat" date_query="array('before' => 'first day of -1 month')" mla_output="paginate_links,prev_next"]A note:
– There will only every be one attachment in ‘the-cat’ per monthIs there any way to make it so that when I go to the next page (using the last shortcode), the galleries (the first four shortcodes) go forward 4 items instead of 1? The reason I am doing it this way is because each gallery is actually using an alternate shortcode (I’ve omitted it here to save space) which can only process one item at a time. If MLA could call the alternate shortcode once per item, then I could combine the four galleries into one.
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Different Pagination Offset’ is closed to new replies.