Skip Navigation

[Resolved] Classic view only pulling through 1 item

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
- 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)

This topic contains 2 replies, has 2 voices.

Last updated by leilaG 7 months ago.

Assigned support staff: Minesh.

Author
Posts
#2407433

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

hidden 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 - hidden 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

Languages: English (English )

Timezone: 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!