Skip Navigation

[Resolved] View inside archive template dont show items

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.

Our next available supporter will start replying to tickets in about 1.41 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 10 replies, has 2 voices.

Last updated by martinH-10 5 years, 5 months ago.

Assisted by: Christian Cox.

Author
Posts
#1260151
2019-06-05_15-52-02.png
2019-06-05_15-52-25.png

Hello,

I have a Layouts template for custom post archive called "remeslo".

In the template is two views.

1) is for showing all taxonomy terms with item count
2) is for showing posts filtered by current archive page

1st view lost all terms when 2nd view dont find any posts. How can I achieve the 1st view to show all the terms every time?

#1260251

Sorry I don't quite understand. May I see this in wp-admin?

#1261295
Screen Shot 2019-06-06 at 10.23.42 AM.png

Something in the Loop Template was causing a problem, so I copied the contents from the template and pasted them directly in the Loop. It appears to be working better now, can you confirm?

#1261363
2019-06-06_17-02-12.png
2019-06-06_17-00-01.png

Yes, it works, ... what do you mean with "something"? Is there any thing I should not do?

And another thing, can you see the error?

And also the Views in footer section dissapeared on this archive pages :(....

#1261433

That's odd. Can I make a copy of your site using the Duplicator plugin? I would like to run some tests without breaking your site.

#1261445

Yes, no problem. Duplicator is installed already.

#1261447
2019-06-06_18-35-37.png

Maybe it has something to do with login form.

When I go to hidden link (signed out) there is some strange behavior with views in footer too. They displaying the login form - thats so strange.

#1264375

I think some templates became corrupted. I made similar changes in these 3 Views to move the template contents into the loop: Views #33, #122, #141

Please check now - I can see the Footer links are appearing correctly now and the signin Forms are not repeated.

#1264597

Yep, I can confirm that. But you tell me, what can corrupt the template? WP rocket? Or why this happen? Is it safe to work on this website and finish it? Or I must start again from zero?

#1265583

I don't have a good answer to that question, and there's not a good way for me to determine how it happened. Normally it's not a big problem and does not indicate a larger issue.

#1266371

My issue is resolved now. Thank you!