I'm trying to create a template archive of my custom post type.
I followed your guide but when I try to change the template I don't see Block Editor but wordpress classic editor.
Furthermore, any saved changes are not then applied to the archive frontend.
I also have this warning before creating the template archive:
"The Personale Sanitario archive of your theme archive-prodotti.php is missing custom fields."
Can you help me?
thanks
Based on your screenshot it appears that your theme/plugin is disabling the gutenburg editor for wordpress.
In order for you to be able to create your archive using the gutenburg editor then you will need to disable any plugin that is being using to enable the Classic Editor.
If it is being disabled by your theme then you should be able to access the option in your theme settings to re-enable the gutenburg editor.
Finally please double check that you archive is set to use the Block editor and not the classic editor. To do this go to Toolset -> Settings and scroll to Editing Experience. If "Show only the legacy interface for designing with shortcodes" is enabled then you won't be able to use the Block Editor. For this you will need to select "Show both the legacy and Blocks interface and let me choose which to use for each item I build" then ensure that the block editor is selected for "Editor to use for WordPress Archives".
Hi, thank for your assistance.
The probleme was caused by WPBakery Page Builder option Disable Gutenberg Editor, I resoved unchecked it.
I have another question;
I create the custom post type with taxonomy category.
It's possible add an ajax filter by these categories in archive template?
This would be a purely css solution where you can try listing out checkboxes in this fashion.
Unfortunately i'm not aware of the exact solution for this one but it should be possible with the use of some css to modify the elements and make them react to clicks etc.