Răsfoiți Sursa

Merge pull request #292 from felixhirschfeld/patch-3

Update library/custom-post-type.php
Eddie Machado 13 ani în urmă
părinte
comite
3c890005f0
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      library/custom-post-type.php

+ 3 - 1
library/custom-post-type.php

@@ -83,6 +83,7 @@ function custom_post_example() {
     			'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 */
     		),
+    		'show_admin_column' => true, 
     		'show_ui' => true,
     		'query_var' => true,
     		'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 */
     			'new_item_name' => __( 'New Custom Tag Name', 'bonestheme' ) /* name title for taxonomy */
     		),
+    		'show_admin_column' => true,
     		'show_ui' => true,
     		'query_var' => true,
     	)
@@ -117,4 +119,4 @@ function custom_post_example() {
     */
 	
 
-?>
+?>