Can I overwrite custom taxonomy FROM “public” TO “false”


I have custom taxonomy within my WordPress installation that I created with a WordPress Plugin called Pods.

For various reasons, I need to set the registering of the loop from “public” to “false” to prevent post looping.

So, can anyone please point me in the right direction to do this?

My Custom Taxonomy is called “Countries” and it lists Countries!

Thanks, all pointers appreciated so that I can figure this one out.

I understand that to register custom taxonomy w/out a plugin you could so something like this:

add_action( 'init', 'create_book_tax' );

function create_book_tax() {
            'label' => __( 'Genre' ),
            'rewrite' => array( 'slug' => 'genre' ),
            'hierarchical' => true,

So I guess my question is: is there a way to overwrite the settings from “public” to “false’ whilst keeping the URL integrity?

What I am trying to achieve is to keep the public URL but remove the loop from my Custom Taxonomy.

I hope that makes sense

, , henry 4 months 0 Answers 52 views 0

Leave an answer