[Résolu] View insterted into archive not displaying
This support ticket is created Il y a 4 années et 5 mois. 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.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
Hi folks, I've got a View that I've inserted into a WordPress Archive that seems to have stopped working.
If I insert the view into a normal page it works as expected, but on the Archive it doesn't display the content. It used to work, but at some point has stopped displaying the content in the view.
Could you help me troubleshoot this please?
The archive is here: lien caché
The content of the archive is:
*****
[wpv-layout-start]
[wpv-items-found]
<div class="wrapper archiveheader">
<h1>Pebble Seats</h1>
<ul class="filters">
It's the [wpv-view name="pebble-seating-product-view"] that isn't displaying - above the loop. Could I have a bit of help with this please.
Many thanks, Emily
This also applies to a view as well if your view is using a content template.
So in summary if the view that you added to the layout is using a content template to display its content. You will need to copy the contents from the view's content template into the <wpv-loop> tag replacing each of the content template calls with the contents you've copied.
Thanks Shane, I'm not sure if I completely understand but I'll have a proper look at it with the site in front of me. I'll let you know if I figure it out!
Cheers, Emily