Simple Post Type Permalinks
Easy to change Permalink of custom post type.
평가
최근 업데이트일
June 4, 2019
버전
2.0.5
활성화된 설치 항목
10K
Edit the permalink structure of custom post type too easy.
Simple Post Type Permalinks is Simple and Smart than Custom Post Type Permalinks.
Available tags are %post_id%
, %postname%
, %year%
, %monthnum%
, %day%
, %hour%
, %minute%
, %second%
, %author%
.
Requires PHP version 5.3 or higher.
This Plugin published on GitHub.
Please Fork and Pull Request!
Setting on Code
예:
register_post_type( 'foo',
array(
"public" => true,
'has_archive' => true,
"rewrite" => [
"with_front" => true
],
"sptp_permalink_structure" => "foo/%post_id%"
)
);
이 플러그인은 다운로드 가능하며 워드프레스 독립 호스트 설치에 사용할 수 있습니다.