|
@@ -83,6 +83,7 @@ function custom_post_example() {
|
|
|
'add_new_item' => __( 'Add New Custom Category', 'bonestheme' ), /* add new title for taxonomy */
|
|
'add_new_item' => __( 'Add New Custom Category', 'bonestheme' ), /* add new title for taxonomy */
|
|
|
'new_item_name' => __( 'New Custom Category Name', 'bonestheme' ) /* name title for taxonomy */
|
|
'new_item_name' => __( 'New Custom Category Name', 'bonestheme' ) /* name title for taxonomy */
|
|
|
),
|
|
),
|
|
|
|
|
+ 'show_admin_column' => true,
|
|
|
'show_ui' => true,
|
|
'show_ui' => true,
|
|
|
'query_var' => true,
|
|
'query_var' => true,
|
|
|
'rewrite' => array( 'slug' => 'custom-slug' ),
|
|
'rewrite' => array( 'slug' => 'custom-slug' ),
|
|
@@ -105,6 +106,7 @@ function custom_post_example() {
|
|
|
'add_new_item' => __( 'Add New Custom Tag', 'bonestheme' ), /* add new title for taxonomy */
|
|
'add_new_item' => __( 'Add New Custom Tag', 'bonestheme' ), /* add new title for taxonomy */
|
|
|
'new_item_name' => __( 'New Custom Tag Name', 'bonestheme' ) /* name title for taxonomy */
|
|
'new_item_name' => __( 'New Custom Tag Name', 'bonestheme' ) /* name title for taxonomy */
|
|
|
),
|
|
),
|
|
|
|
|
+ 'show_admin_column' => true,
|
|
|
'show_ui' => true,
|
|
'show_ui' => true,
|
|
|
'query_var' => true,
|
|
'query_var' => true,
|
|
|
)
|
|
)
|
|
@@ -117,4 +119,4 @@ function custom_post_example() {
|
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
-?>
|
|
|
|
|
|
|
+?>
|