eddiemachado преди 14 години
родител
ревизия
3ae72fb0eb
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      library/custom-post-type.php

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

@@ -68,7 +68,7 @@ function custom_post_example() {
 	// now let's add custom categories (these act like categories)
     register_taxonomy( 'custom_cat', 
     	array('custom_type'), /* if you change the name of register_post_type( 'custom_type', then you have to change this */
-    	array('hierarchical' => true,     /* if this is true it acts like categories               
+    	array('hierarchical' => true,     /* if this is true it acts like categories */             
     		'labels' => array(
     			'name' => __( 'Custom Categories' ), /* name of the custom taxonomy */
     			'singular_name' => __( 'Custom Category' ), /* single taxonomy name */