Adds the ability to configure permalinks for custom post types using rewrite tags like %post_id% and %author%.
평가
4.3
최근 업데이트일
July 26, 2023
버전
1.4.4
활성화된 설치 항목
700

In addition to controlling your custom post type permalinks this plugin adds support for using custom taxonomies in your permalink structures as well.

Not only that but you can control the full permalink so the post type slug is not required at the start of the link.

Multiple post types can use the same permalink structure.

Usage

There are 2 ways to use this plugin:

Permalink Settings

The plugin adds fields to the permalinks settings page for any public facing custom post types.

In Code

When registering a post type you can add a value to the rewrite property with the key ‘permastruct’ to define your default permalink structure.

eg:

<?php register_post_type( 'my_type', array( ... 'rewrite' => array( 'permastruct' => '/%custom_taxonomy_name%/%author%/%postname%/' ), ... ) ); ?>
무료Creator 요금제에서
활성화된 설치 항목
700
테스트된 버전
6.3.5
이 플러그인은 다운로드 가능하며 워드프레스 독립 호스트 설치에 사용할 수 있습니다.