Hi all,
I have two WP archives called Blog and Market both customized with Toolset. The main menu is missing in the Market archive, while it correctly appears in the Blog archive (and all other pages of the site). At first I thought it could be a theme issue because in the Blog page the kadence_customizer_header_bottom element is correctly rendered with all the sub-elements including the navigation, while in the Market archive the kadence_customizer_header_bottom element is replaced by the kadence_customizer_header_MAIN element that doesn't include the navigation (see picture). So I asked Kadence support and they found that the issue remains even changing the theme.
Then I started deactivating/reactivating all plugins and the menu sometimes came back deactivating Toolset Blocks or Types, but not always. It's difficult to say because when those are deactivated the Homepage is shown at those links instead of the archives. I also deleted the Market (classified) archive and created a new one from scratch and the issue happens also in the new empty archive. Now I have restored the site from a previous backup. Any clue about what can cause this issue ? thanks
As you may already know, Toolset do not control menu, sidebars, header, footer. Toolset only replaces the content (body) area until and unless you are using the Toolset compatible theme that offers luxury to control the limited theme options.
Hello Minesh,
I understand that. But is there a way that you know to show the archive page (even without content) after deactivating Types ? I can't tell if the menu appears or not because instead of the archive the homepage appears and the customizer doesn't show the archives settings.
thanks
Regards
Nicola
Well - you can crate views, archive either using Blocks or Views plugin.
If you do not want to use Toolset Blocks/Views plugin to create your archive, you can create archive for your post type using your theme's PHP template. So, you will have to create the archive-{your-post-type-slug}.php file within your theme.
Hello Minesh,
following your indications I have recreated the archive as page + view and everything works fine, also the menu appears now. Although when clicking on the post title with link to open the single CT one of the posts listed by the view I get the "page not found" message. This also happens if I click on View in the admin post list ! even though the link seems correct ... what can it be ?
Another
thanks
Regards
Nicola
Well - WordPress works with unique slug and if market is not working that means that slug must be either occupied by any post, term or any other entity you created.
I checked and it works without any issue when I click on the any specific item on market3 page. It redirect me on single classified page.
Hello Minesh,
I am closing this ticket although it remains unclear why:
- the menu disappeared in the previous archive. I solved this issue creating a page instead of using an archive.
- the page cannot be named market even though I checked there are no other elements in the db called market. To solve the issue I just gave the page a different slug, but ....
Thanks anyways
Regards
Nicola