I created some CPT with taxonomies. While I created the last one, I got some issues with showing the single post (always error 404). So I changed a lot the name of the CPT + Taxonomy to resolve the problem.

The problem was to just change the permalink once - an back - then the single view was fixed.

Now I have the problem, that I get no output with this code anymore (this code works with the other CPT/ taxonomies):

$customPostTaxonomies = get_object_taxonomies('job');
if (count($customPostTaxonomies) > 0) {
    foreach ($customPostTaxonomies as $tax) {
        $args = array('orderby' => 'name', 'show_count' => 1, 'pad_counts' => 0, 'hierarchical' => 1, 'taxonomy' => $tax, 'title_li' => '');
        wp_list_categories($args);
    }
}

I cheked if there exist TAX with that one (they exist):

    $args = array(
    'hide_empty'    => false, 
    );
$institutions = get_terms('job',$args);
print_r($institutions);

Now I don’t know how to show the taxonomies (or reset them?).

Thanks for any help.

Read more here: Taxonomies exists - but not showing up


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, ,

Wordpress related questions and answers: