• Is there a way to deactivate the archive for a specific custom taxonomy? I have about 5 custom taxonomies set up but only need an archive for 4 of them. I don’t need an archive page for one of them.

    Is this possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi.
    When registering post-types there is a parameter which is called ‘has_archive’.
    Set this to false to prevent archives from being enabled.
    For more details on registering post-types: WordPress Codex

    Thread Starter thirstcard

    (@thirstcard)

    @thor Brink

    Thanks but your solution only makes it possible to deactivate a post type archive.

    I need to deactivate a custom taxonomy archive.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Deactivate archive for specific custom taxonomy’ is closed to new replies.