-
AuthorPosts
-
October 24, 2025 at 7:15 pm #1490577
Hello,
I’ve made a duplicate of taxonomy-portfolio_entries.php for my child theme and following instructions found in other posts, modified it like this:array( 'linking' => '', 'columns' => '3', 'items' => '18', 'contents' => 'title', 'sort' => 'no', 'paginate' => 'yes', 'set_breadcrumb' => false, ));However, it is not showing 18 items.
Also, one of the images is displaying as square rather than rectangular as the others.Any advice would be greatly appreciated.
October 27, 2025 at 6:49 am #1490612Hey milkrow,
Thank you for the inquiry.
Instead of editing the template, try adding this filter to the functions.php file:
function avf_avia_post_grid_query_mod( $query, $params ) { if ( is_tax( 'portfolio_entries' ) ) { $query['posts_per_page'] = 18; } return $query; } add_filter( 'avia_post_grid_query', 'avf_avia_post_grid_query_mod', 10, 2 );Let us know the result.
Best regards,
IsmaelOctober 27, 2025 at 2:40 pm #1490624That doesn’t seem to work. I tried both the parent theme and the child theme’s function.php.
October 28, 2025 at 5:30 am #1490638Hi,
Thank you for the update.
We may need to log in to the site to properly check the issue. Please provide the login details in the private field.
Best regards,
IsmaelOctober 28, 2025 at 2:00 pm #1490659Thank you for your response Ismael.
I created a temporary login using (Email address hidden if logged out) . See the link in the private content field.
October 29, 2025 at 6:12 am #1490674Hi,
Thank you for the login info.
We adjusted the value of the “Blog pages show at most” field in the Settings > Reading panel. The portfolio category page should now display 18 items with pagination enabled.
Best regards,
IsmaelOctober 29, 2025 at 10:12 pm #1490712HI Ismael,
Thank you!October 30, 2025 at 5:48 am #1490720 -
AuthorPosts
- The topic ‘Pagination and items settings in taxonomy-portfolio_entries.php’ is closed to new replies.
