Skip Navigation

[Resolved] Can’t choose to display posts ASC or DESC

This thread is resolved. Here is a description of the problem and solution.

Problem:
Can't choose to display posts ASC or DESC

Solution:
The issue was user added the static order to view using the order argument.

You can find the proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/cant-choose-to-display-posts-asc-or-desc/#post-1231340

Relevant Documentation:

This support ticket is created 5 years, 11 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.

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 3 replies, has 2 voices.

Last updated by antonioR-4 5 years, 11 months ago.

Assisted by: Minesh.

Author
Posts
#1231300

I am trying to:

Display the custom post types in ascending order by date from custom field Date. I have created a custom field for Date and I wish to display post types in ascending order.

Link to a page where the issue can be seen: hidden link

I expected to see:

The post types displayed May to September

Instead, I got:

The posts being displayed from September to May

----------------

It doesn't mater if I choose ascending or descending order in the Ordering settings. It stil displays them descending...

#1231312

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - can you please share access details so that I can review your setup why the sorting is not working.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#1231340

Minesh
Supporter

Languages: English (English )

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

Can you please check now:
=> hidden link

The issue was you have added view's shortcode with order attribute desc as given under:

[wpv-view name="upcoming-activities" order="desc"]

I've changed the shortcode as given under:

[wpv-view name="upcoming-activities"]

I see it just works fine. Can you please confirm.

#1231341

Ah yes, my mistake.

Advanced plugin, confused with all the different options. Many thanks to you.