Shortcode Pagination Broken on Front Page
-
If you use the shortcode i.e.
[sermons posts_per_page="1"]on the static front page pagination does not work.The fix is to edit sermon-manager-for-wordpress/includes/shortcodes.php
Add these two lines between Line 593 and Line 594.} elseif ( get_query_var( 'page' ) ) { $my_page = get_query_var( 'page' );This is a minor modification of the recommended code in WordPress’ Documentation.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Shortcode Pagination Broken on Front Page’ is closed to new replies.