Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Remove the /type/standard/ archive

$
0
0

Replies: 0

My theme creates an archive for /type/standard on the site.

Because the only type I use is standard, this is redundant. Worse, it duplicates the main post archive.

There is a lot of help for someone who wants to add archives, but how can I remove this one? I don’t want to remove the category archives at the same time.

I’ve found the is_post_type_archive function, but have no idea how to use this to hide a type.

With luck the linked page may be gone by the time you read this.


Viewing all articles
Browse latest Browse all 59525

Trending Articles