Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php // don't copy this line in your code.
- function previous_posts_from_same_category( $args ) {
- $args['in_same_term'] = true;
- return $args;
- }
- add_filter( 'astra_single_post_navigation', 'previous_posts_from_same_category' );
Add Comment
Please, Sign In to add comment