开发者 | themejunkie |
---|---|
更新时间 | 2022年10月26日 23:49 |
PHP版本: | 4.6 及以上 |
WordPress版本: | 6.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Add this line in your theme functions.php
.
`
// Enable Team post type.
add_theme_support( 'junkie-team' );
// Enable Testimonial post type.
add_theme_support( 'junkie-testimonial' );
// Enable Doctor post type.
add_theme_support( 'junkie-doctor' );
// Enable Department post type.
add_theme_support( 'junkie-department' );
// Enable Feature post type.
add_theme_support( 'junkie-feature' );
// Enable Service post type.
add_theme_support( 'junkie-service' );
// Enable Slider post type.
add_theme_support( 'junkie-slider' );
`
flush_rewrite_rules()
function to remove rewrite rules and then recreate rewrite rules