Skip Navigation

[Resolved] Reverse Index loop with pagination

This support ticket is created 4 years 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 1 reply, has 2 voices.

Last updated by Minesh 4 years ago.

Assisted by: Minesh.

Author
Posts
#1557859

Hi, Is it possible to number posts in pages in a descending manner?

page 1
- 87 post title
- 86 post title
- 85 post title
- 84 post title
- 83 post title

page 2
- 82 post title
- 81 post title
- 80 post title
- 79 post title

#1559393

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Toolset View's offers a shortcode [wpv-loop-index] but it works to display the Ascending index.
=> https://toolset.com/documentation/user-guides/views/views-shortcodes/#wpv-loop-index

Maybe you can file a feature request to allow this shortcode to support Descending index as well using the following form:
=> https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

You need to write your own custom shortcode to display index in descending order. Please check the following related ticket where I've shared the solution to add the index in Ascending index using the incrementor shortcode:
=> https://toolset.com/forums/topic/display-item-number-in-views/#post-484259
You should adjust the shortcode to decrement the value.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.