You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use a custom slug for the archive as compared to the singles (i.e. "contractors" for the archive and "contractor" for the singles), but when I set a string value to has_archive, it's not being respected. I've flushed permalinks after making this change. Is this something I'm doing wrong, or an issue with this library?
It does actually seem to be working when I retrieve it via get_post_type_archive_link("contractor"), but even after saving permalinks multiple times it still 404s
I'm trying to use a custom slug for the archive as compared to the singles (i.e. "contractors" for the archive and "contractor" for the singles), but when I set a string value to
has_archive
, it's not being respected. I've flushed permalinks after making this change. Is this something I'm doing wrong, or an issue with this library?References:
The text was updated successfully, but these errors were encountered: