Skip Navigation

[Resolved] Template Archive

This support ticket is created 3 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 5 replies, has 2 voices.

Last updated by Shane 3 years ago.

Assisted by: Shane.

Author
Posts
#2215791

Meg
wordpress-archive-warning.png
wordpress-archive-frontend.png
wordpress-archive-editor.png

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

#2216165

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Meg,

Thank you for getting.

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".

Please let me know if this helps.
Thanks,
Shane

#2216939

Meg

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?

thanks
Meg

#2216961

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2021-11-09 at 1.15.02 PM.png

Hi Meg,

I create the custom post type with taxonomy category.
It's possible add an ajax filter by these categories in archive template?

If you're referring to having a search on the archive template and filter the archive by the taxonomy then yes it is.

Looking under the search settings option for the block you should see the options to enable the AJAX filtering. See Screenshot

Please let me know if this helps.
Thanks,
Shane

#2217781

Meg
example.png

Hi, thanks for the reply
I had already enabled that option
What I'm trying to do is add a menu filter by category like in this example:
hidden link

thanks
Meg

#2218579

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Meg,

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.

Thanks,
Shane