I'm attempting to turn off archives for two custom post types that have already been created. After I uncheck the "has_archive" option and click "Save Post Type," the "has_archive" checkbox is checked again. I have tried numerous times, after flushing cache and using different browsers, and the checkbox remains checked.
Is there a step I'm missing in order to turn off archives?
Or perhaps a workaround in code that I can add in the custom code snippets area?
If has_archive cannot be changed after a cpt has been created, I assume I could delete the custom post type and create it from scratch with the same slug, this time making sure has_archive is unchecked before saving the cpt. Would there be any fallout from this method?
I'm also considering a redirect to handle this if that is the path of least resistance.
Hello. Thank you for contacting the Toolset support.
We already releases a hotfix for this issue and the fix is shipped with Toolset Types version 3.4.9.
*** Please make a FULL BACKUP of your database and website.***
We always recommend running your site with the latest stable release plugin version. Could you please update ALL Toolset plugins to it's latest officially released version. You can download the latest plugin release from your accounts page:
=> https://toolset.com/account/downloads/