Skip Navigation

[Resolved] term taxonomy on archive post type

This support ticket is created 4 years, 8 months 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)

Tagged: 

This topic contains 10 replies, has 2 voices.

Last updated by Shane 4 years, 7 months ago.

Assisted by: Shane.

Author
Posts
#1571103

I am trying to:
https://toolset.com/documentation/getting-started-with-toolset/customize-post-archives/

hidden link

On archive page of the post type, need only a list of terms. I make a list of terms in a view, and insert it before an empty loop.
Blocks HTML are created on the page, but they are empty. On a normal page, this list displays well.

On archive page: hidden link
On other pages: hidden link

Link to a page where the issue can be seen:
hidden link

#1571235

Shane
Supporter

Languages: English (English )

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

Hello,

Thank you for getting in touch.

Based on my understanding you want to use a view to display the taxonomies on a Post Type archive ?

Should the the taxonomies be related to that post type and the current posts being listed out by the archive ?

Please let me know.

Thanks,
Shane

#1571381

taxonomy has been created for the post type. This taxonomy is not used for other types of posts. I want to use all the taxonomy terms on the post archive page

links to posts will not be used on the archive page. For SEO, it is important that the link to the page is formed correctly. I can put a view on a normal page. But then the archive page will not be well designed. I only want to use the archive page

#1572493

Shane
Supporter

Languages: English (English )

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

Hello,

Just to ensure that I have a full understanding of the issue. Here is a visual representation of what I believe you want to achive.

-Post Type Archive A
- Taxonomy 1
- taxonomy 2
-taxonomy 3
- taxonomy 4

Etc

Essentially the post type archive will just be listing out taxonomies.

Please let me know if this visual representation is what you want to achieve.

Thanks,
Shane

#1572645

I have: Taxonomy "1", which has terms: term 1, term 2, term 3. On the archive page, I want to see a list of taxonomy"1" terms

-Post Type Archive A
--term 1
--term 2
--term 3

#1572665

Shane
Supporter

Languages: English (English )

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

Hi Oleg,

Ok thank you, so in your case you are going to need to create a view that will list the taxonomies that you want.

To do this go to Toolset->Views and add a new view.

Once you've created your taxonomy view and use the Loop wizard to populate the view you can then go to Toolset -> WordPress Archive and create your archive.

If your archive is using the block editor you can disable it by going to Toolset -> Settings -> Editing experience and select "Show both the legacy and Blocks interface and let me choose which to use for each item I build"

Once you have done this you should see the option "Editor to use for WordPress Archives" select the classic editor.

Finally when you go back to create the archive, just insert your view outside of the <wpv-loop></wpv-loop> tags.

Please let me know if this helps.
Thanks,
Shane

#1572667

I've already done all that. I wrote it here because the view on the archive page doesn't work correctly. In the first post, I wrote and showed screenshots. The HTML layout of the view is created, you can observe the DIV, but terms and descriptions of terms are not inserted. This results in a white page. This same view works as needed on any normal page.

#1572697

Shane
Supporter

Languages: English (English )

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

Hi Oleg,

Thanks for the clarity.

Would you mind allowing me to have admin access to the site to check on this issue for you in a bit more detail to see what is causing this issue?

Thanks,
Shane

#1573371

Shane
Supporter

Languages: English (English )

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

Hi Oleg,

Thank you for the credentials. I was able to identify the exact issue and resolved it by using the methods in the errata page below.
https://toolset.com/errata/view-doesnt-list-items-in-widgets-on-a-wordpress-archive-designed-with-toolset/

This is still an open issue with our development team so a permanent fix has yet to be provided. However the workaround should get your archive up and running again.

Please let me know if this helps.
Thanks,
Shane

#1573727

Thank you very much for your help. Tell me where you made the corrections. I want to know to be careful about the code

#1573735

Shane
Supporter

Languages: English (English )

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

Hi Oleg,

The changes were actually made to your taxonomy view.

Given that the ticket has been resolved I'm unable to access your website information to give the exact view name.

However the change was made in the actual view that is listing out the taxonomies.

Thanks,
Shane