fix mobile view project overview
This commit is contained in:
parent
77c2cdffe8
commit
c36d84a8a3
2 changed files with 4 additions and 2 deletions
|
|
@ -350,6 +350,8 @@ add_action( 'wp_head', 'kit_customize_css');
|
|||
function kit_modify_posts_per_page( $query ) {
|
||||
if ( $query->is_search() ) {
|
||||
$query->set( 'posts_per_page', '10' );
|
||||
} else {
|
||||
$query->set( 'posts_per_page', '9' );
|
||||
}
|
||||
}
|
||||
add_action( 'pre_get_posts', 'kit_modify_posts_per_page' );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue