Single posts for one CPT UI post type are 404s

Based on our discussion in the comments I think the issue you’re experiencing is that you’ve got a slug conflict with WooCommerce ‘downloads’. Your CPT isn’t conflicting but the slug it’s applying is probably conflicting with WooCommerce’s slug for downloads. To rectify this, simply prefix your slug or adjust it: /dls/ /nthn_downloads/ /themename_downloads/ Anything of … Read more

Display Custom Toxonomy In WordPress and theme Widgets category selection dropdown list

I took a look at the theme’s code. the function covernew_get_terms() function accepts a taxonomy argument, take a look at the source code: /** * Returns all categories. * * @since CoverNews 1.0.0 */ if (!function_exists(‘covernews_get_terms’)): function covernews_get_terms( $category_id = 0, $taxonomy=’category’, $default=”” ){ #… rest of the code } endif; By default the taxonomy … Read more

Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?

If your taxonomy is non-hierarchical like tags, change value of input to $term->name. Took me a while to figure it out. It’s crazy but wordpress handle non-hierarchical taxonomies by their name in forms and not ids. echo “<input type=”radio” id=’in-$id’ name=”{$name}””.checked($current,$term->term_id,false).”value=”$term->name” />$term->name<br />”;