Seleccionar página

Instalar el plugin Search & Filter y añadir el shortcode

Realizar los siguientes cambios en el archivo /public_html/wp-content/plugins/search-filter

$args[‘show_option_all’] = $labels->all_items !== » ? $labels->all_items : ‘All ‘ . $labels->name;

y cambiarla por

$args[‘show_option_all’] = »;

para que solo se muestren los post sería esto:

$post_type_labels = array(); $post_type_labels[‘name’]          = ‘Post Types’; $post_type_labels[‘singular_name’] = ‘Post Type’; $post_type_labels[‘search_items’]  = ‘Search Post Types’; if ( $all_items_labels[ $i ] !== » ) { $post_type_labels[‘all_items’] = $all_items_labels[ $i ]; } else { $post_type_labels[‘all_items’] = ‘All Post Types’; }

$post_type_labels = array(); $post_type_labels[‘name’] = ‘Post Types’; $post_type_labels[‘singular_name’] = ‘Post Type’; $post_type_labels[‘search_items’] = ‘Search Post Types’; $post_type_labels[‘all_items’] = ‘Post’; // Cambia ‘All Post Types’ por ‘Post’ // Resto del código