Преглед на файлове

Merge pull request #292 from felixhirschfeld/patch-3

Update library/custom-post-type.php
Eddie Machado преди 13 години
родител
ревизия
3c890005f0
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  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 */
     			'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() {
     */
     */
 	
 	
 
 
-?>
+?>