Я решил проблему самостоятельно ... Я определил новый пользовательский тип записи с именем blog. Работает так, как мне кажется:)
Рабочий раствор:
function post_type_blog() {
$labels = array(
'name' => _x('Entries', 'post type general name'),
'singular_name' => _x('Entry', 'post type singular name'),
'add_new' => _x('Add', 'entry'),
'add_new_item' => __('Add new Entry'),
'edit_item' => __('Edit'),
'new_item' => __('New'),
'view_item' => __('Visit'),
'search_items' => __('Search Entries'),
'not_found' => __('Nothing found'),
'not_found_in_trash' => __('Nothing found in Trash'),
'parent_item_colon' => ''
);
$args = array(
'labels' => $labels,
'public' => true,
'publicly_queryable' => true,
'show_ui' => true,
'query_var' => true,
'rewrite' => true,
'capability_type' => 'page',
'hierarchical' => false,
'rewrite' => array("slug" => "blog"), // Permalinks format
'menu_position' => 5,
'supports' => array('title','editor','thumbnail','comments')
);
register_post_type('blog',$args);
}
add_action('init', 'post_type_blog');
Важное примечание:
Не забудьте обновить ваши постоянные ссылки. В противном случае вы получите 404.