I created a new tab called "Videos" inside of the BuddyPress Profile page. This tab contains all video posts added by that user. The problem is that it only shows the first 12 posts and the pagination does not show up. I did try to include the pagination code provided by the theme but to no avail. Notes: - I am using a theme called "VideoTube" - The post loop to be paginated is from a custom post type called "video" - The original pagination code provided by the theme is `<?php do_action( 'mars_pagination', null );?>` - The code below is pulled from my functions.php file in the child theme folder. Thank you in advance for all your help :D Code: <?php function my_videos_screen_content() { ?> <div class="container"> <div class="row"> <div class="col-sm-8"> <div class="row video-section meta-maxwidth-230"> <?php $args = array( 'post_type' => array( 'video' ), 'author' => bp_displayed_user_id(), 'posts_per_page' => get_option( 'posts_per_page' ) ); $author_videos = new WP_Query( $args ); if ( $author_videos->have_posts() ) : while ( $author_videos->have_posts() ) : $author_videos->the_post(); get_template_part( 'loop', 'video' ); endwhile; ?> </div> <?php do_action( 'mars_pagination', null );?> <?php wp_reset_postdata(); endif; ?> </div> </div> </div> </div> <?php }