Skip Navigation

[Résolu] Archive Page displaying too many results

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.

This topic contains 4 réponses, has 2 voix.

Last updated by joshM-4 Il y a 5 années et 4 mois.

Assigned support staff: Minesh.

Auteur
Publications
#405569
Screen Shot 2016-06-08 at 12.08.41 PM.png

I am trying to: update the custom archive page for my "events" post type so that it is sorted by the event-date-start custom field in ascending order. I am also trying to use a filter so that once the event start date has passed, the event will then be hidden.

I visited this URL: hidden link

I expected to see: the 3 events that are scheduled for the future, in ascending order

Instead, I got: all 4 of the events (3 future, 1 past), repeated in a random order.

I went ahead and created a login for you to hopefully make this easier.
U: Toolset
P: thanksforhelping!

Please let me know if there is more you need from me!

Thanks,
Josh

#405673

Minesh
Supporter

Languages: Anglais (English )

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

Hello. Thank you for contacting the Toolset support.

I'm afraid that you can't modify the query of an Archive page currently within Views as the query of archive page is defined by WordPress. Archives, Taxonomy and user Views can't have a Parametric Search for now.

But the good news is that we have added the functionality to filter the archive view in next release so that you can filter your archive view with the custom field.

#405779

Thank you Minesh, that sounds good.

I'll use it as it is now and take advantage of the filtering in the next release!

Have a good one!

#406861

Minesh
Supporter

Languages: Anglais (English )

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

I've good new for you.

We have released Toolset plugin new version today. Could you please go to download page and update your plugins:
=> https://toolset.com/account/downloads/

Now you will find the parametric search with WordPress archive.

#407167

That's great- thank you, Minesh.