Skip Navigation

[Gelöst] Classic view only pulling through 1 item

This support ticket is created vor 2 Jahren, 5 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von leilaG vor 2 Jahren, 5 Monaten.

Assistiert von: Minesh.

Author
Artikel
#2407433

Hello, we are using a classic view on this page, but it is only pulling through one item

versteckter Link
[wpv-view name="similar-spaces-classic-view" type="location" format="slug"]

It's also used at the bottom of these pages and working fine - versteckter Link
[wpv-view name="similar-spaces-classic-view" wpvlocation="[wpv-post-taxonomy type='location' format='slug']" wpvspacetype="[wpv-post-taxonomy type="space-type" format="slug"]"cached="off"]

#2407565

Minesh
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I see you are using the same view with shortcode attribute wpvlocation and wpvspacetype.

The following view works which you have added at bottom of the page because it has correct shortcode attribute - wpvlocation and wpvspacetype.

[wpv-view name="similar-spaces-classic-view" wpvlocation="[wpv-post-taxonomy type='location' format='slug']" wpvspacetype="[wpv-post-taxonomy type="space-type" format="slug"]"cached="off"]

What if you change your shortcode attribute name to view that is not working as:

[wpv-view name="similar-spaces-classic-view" wpvlocation="location" wpvspacetype="slug"]

- Where add the correct location term slug for your with attribute wpvlocation
- add the correct spacetype term slug for attribute wpvspacetype

For example:
- if you have term available with slug for location taxonomy is: madrid
- if you have term available with slug for spacetype taxonomy is: open

Then view shortcode should be:

[wpv-view name="similar-spaces-classic-view" wpvlocation="madrid" wpvspacetype="open "]

I hope above solution would work as expected.

#2408103

My issue is resolved now. Thank you!