v.6.0.0 – posts_per_page=”-1″ in shortcode breaks ALM
-
Per title using posts_per_page=”-1″ in the ajax_load_more shortcode ends up showing no posts instead of the expected(?) all posts. Setting posts_per_page to some high number fixes this but I have no idea if it’s intentional as the usual way to get all posts is passing -1 in a WP_Query for example. Using -1 used to work up to version 6.0.0
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘v.6.0.0 – posts_per_page=”-1″ in shortcode breaks ALM’ is closed to new replies.