Skip to main content

Basic post type

When you use WordPress Basic Post type, please update archive.php and single.php template file.

How to change archive page url​

LH WordPress template is able to change basic post type archive url. When you need to change basic post type archive url, please check config.php.

After changin the following function's value,

<?php

/**
* 投稿アーカイブのスラッグ
* Slug of post archive URL
*/
function get_post_slug() {
return 'news';
}

you need to display settings -> permalinks page of WordPress admin page. (When you show this page, WordPress apply permalink setting from template also)

How to change detail page url​

You can change basic post type detail page url by settings -> permalinks page of WordPress admin page.