Home › Support Forums › Theme Support › Pinboard › Manage the number of post on homepage › Reply To: Manage the number of post on homepage
Keymaster
It’s not possible to do this with just CSS. If you can insert some code, this function should do the job:
add_action( 'pre_get_posts', 'pinboard_front_page_posts' ); function pinboard_front_page_posts( $query ) { global $wp_the_query; if( $wp_the_query === $query && $query->is_home() ) { $query->set( 'posts_per_page', 8 ); } }
Replace the number 8 with your desired number of posts per page.