For some reason it doesn’t work for me. And I do have custom fields type enabled. I’m using the classipress ads theme. Any ideea why?
Could have something to do with the theme’s coding?
Here’s the custom post type registration:
register_post_type( 'ad_listing',
array( 'labels' => array(
'name' => __( 'Ads', 'appthemes' ),
'singular_name' => __( 'Ad', 'appthemes' ),
'add_new' => __( 'Add New', 'appthemes' ),
'add_new_item' => __( 'Create New Ad', 'appthemes' ),
'edit' => __( 'Edit', 'appthemes' ),
'edit_item' => __( 'Edit Ad', 'appthemes' ),
'new_item' => __( 'New Ad', 'appthemes' ),
'view' => __( 'View Ads', 'appthemes' ),
'view_item' => __( 'View Ad', 'appthemes' ),
'search_items' => __( 'Search Ads', 'appthemes' ),
'not_found' => __( 'No ads found', 'appthemes' ),
'not_found_in_trash' => __( 'No ads found in trash', 'appthemes' ),
'parent' => __( 'Parent Ad', 'appthemes' ),
),
'description' => __( 'This is where you can create new classified ads on your site.', 'appthemes' ),
'public' => true,
'show_ui' => true,
'capability_type' => 'post',
'publicly_queryable' => true,
'exclude_from_search' => false,
'menu_position' => 8,
'menu_icon' => FAVICON,
'hierarchical' => false,
'rewrite' => array( 'slug' => $post_type_base_url, 'with_front' => false ),
'query_var' => true,
'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'trackbacks', 'custom-fields', 'comments', 'revisions', 'sticky' ),
)
);
I also have custom taxonomies for categories and tags.