Skip Navigation

[Resolved] Sorting of two fields

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 6 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#621150

Hello and good evening from Germany.

I have a question about sorting ads. I intend to publish on my website premium and normal listings. However, the premium ads are always on top and after the premium ads are the normal listings following.

Sorting order:

1. Premium ads sorted by creation date
2. Normal ads soertiert by creation date

#621238

Dear Lisa,

Please elaborate the question with more details, especially this sentence:
Normal ads soertiert by creation date

I assume we are talking about this case:
Sorting order:
1. Premium ads sorted by creation date ASC
2. Normal ads sort by creation date DESC

If it is, I don't think it is possible within one single view, in your case, you can create two different views:
1st view) list the premium ads posts, sorted by creation date ASC
2nd view) list the normal ads posts, soert by creation date DESC

And put display both views in the same page.

The forum ‘Types Community Support’ is closed to new topics and replies.