Skip Navigation

[Resolved] Taxonomy view not displaying

This support ticket is created 5 years, 5 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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 5 replies, has 2 voices.

Last updated by nikolaS-3 5 years, 5 months ago.

Assisted by: Beda.

Author
Posts
#1308601

Tell us what you are trying to do?
I built a blog archive layout using Layouts where I display posts using view and in sidebar I'm trying to display taxonomy categories of posts.

I have an issue that I cannot display view of posts and view of categories on same page. I can only show one of them.

Here is a link to blog layout: hidden link

In the sidebar in bottom you will see "Categories" title where taxonomies should show.

#1308607

I think the View Loop is not complete, please check the view with ID 110, if the Loop includes all required elements and some data other than a "list" element to output.

Please then let me know if it works, if not, can you add login details and allow me to make some tests?

#1310257

This password seems wrong, as I receive:

ERROR: The password you entered for the username Toolset is incorrect. Lost your password?

Could you revise it?

#1310265

Ok, I updated the password. Can you try now with the same one?

#1310297

I first thought you add Widgets in the Appearance > Widgets because there you have the View "Blog Teaser", but in fact, in the front end, the View "Posts categories" is used as you mention.
As you mention, you added them with a Layout Visual Editor Cell, where you placed the View [wpv-view name="posts-categories"].

So I am correct on View with ID 110 "Posts categories"
That View will query Categories, and will produce a list for each term found:

<li>
  <span class="title">[wpv-taxonomy-title]</span>
  <span class="link"><a href="[wpv-taxonomy-url]" class="terciary-button">View</a></span>
</li>

Now, we can add a simple string "test here" in the Loop directly (just after <wpv-loop>) and will see that this is in fact output, twice, to be precise.
But the ShortCode [wpv-post-body view_template="loop-item-in-posts-categories"] is not.

This means, if we remove the above shortcode and instead insert the whole styling part of the Loop Content Template in the loop directly, it should be working as well, and that's the case.
You should now already be able to see the front end sidebar outputting the expected entries.

I'm not exactly sure why this is, locally it works.
So it could be due to the outdated Toolset on your site (which I recommend to update) or any other software used, inclusive it could be due to how you insert the View (however that's no issue locally), since Views are supposed to be inserted in Layouts wit the adequate cells, but as said, that works as well locally.

If you wish we can analyse this, then I'd need a Duplicate (see https://toolset.com/faq/provide-supporters-copy-site/) of this issue/site

#1310307

Great! Thanks for the help. I'll just stick to this solution without investigating further 🙂