|
@@ -16,7 +16,7 @@ URL: http://themble.com/bones/
|
|
|
|
|
|
|
|
|
|
|
|
|
// let's create the function for the custom type
|
|
// let's create the function for the custom type
|
|
|
-function custom_post__xample() {
|
|
|
|
|
|
|
+function custom_post_example() {
|
|
|
// creating (registering) the custom type
|
|
// creating (registering) the custom type
|
|
|
register_post_type( 'custom_type', /* (http://codex.wordpress.org/Function_Reference/register_post_type) */
|
|
register_post_type( 'custom_type', /* (http://codex.wordpress.org/Function_Reference/register_post_type) */
|
|
|
// let's now add all the options for this post type
|
|
// let's now add all the options for this post type
|
|
@@ -60,7 +60,7 @@ function custom_post__xample() {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// adding the function to the Wordpress init
|
|
// adding the function to the Wordpress init
|
|
|
- add_action( 'init', 'custom_post__xample');
|
|
|
|
|
|
|
+ add_action( 'init', 'custom_post_example');
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
|
for more information on taxonomies, go here:
|
|
for more information on taxonomies, go here:
|