save_post custom post type ? $_POST not working?

From what I can see there is no value set for ct_list_url2, when this code block executes, $meta = array(‘ct_download_link’, ‘ct_list_url’, ‘ct_list_url2’); foreach($meta as $dt) { if($dt == ‘ct_list_url2’) { $_POST[$dt] = get_blogspot_url($_POST[$dt]); } if(isset($_POST[$dt]) && $_POST[$dt] !== ”) { update_post_meta($post->ID, $dt, $_POST[$dt]); } else { delete_post_meta($post->ID, $dt); } … …in fact that goes for … Read more

Page for custom post type

I f you set the argument has_archive in register_post_type() to TRUE you get an archive automatically. Depending on your slug it will be available on /arts/ probably. To customize the look of that page use a template archive-{post_type}.php.

Ordering values entered in Custom Taxonomies

To print its categories that article uses the function wp_list_categories. The parameter that dictates how elements are ordered is “order_by” which it sets to “name”. Other options are listed under parameters, order by, on that function’s page in the codex: http://codex.wordpress.org/Template_Tags/wp_list_categories It seems that the option you have are ID, name, slug, term_group and count. … Read more

Taxonomy in URL

Following the steps below will make your permalinks look like: www.mydomain.com/videos(Category)/the-video(Post) Visit the Settings > Permalinks page of your WordPress administration dashboard. Select the Custom Structure option, and enter this value: /%category%/%postname%/ Click Save Changes There currently is no way (that I know of) to include the taxonomy in the permalink. One way around this … Read more