/ Published in: PHP
add this to functions.php and you won't have to mess with the index page.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
add_filter( 'pre_get_posts', 'my_get_posts' ); function my_get_posts( $query ) { if ( is_home() && false == $query->query_vars['suppress_filters'] ) return $query; }