Skip Navigation

[Resolved] Number Entries Descending Without Using Ordered List

This support ticket is created 5 years, 6 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 2 replies, has 2 voices.

Last updated by chrisB-30 5 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#1276549

Hello,

Is there a way to number entries descending without using an unordered list?

If you look at this page:
hidden link

You will see a list of entries that I have sorted by a ranking number that is taken from a custom field.

I will be adding more information to the display of entries and it is not going to be possible to keep them as an unordered list.

How can I number them without using the list markup?

Thanks

#1276555

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Views offer the shortcode [wpv-loop-index] to display the current loop index.

For example:

[wpv-loop-index accumulate="false" pad="false" offset="-1"]

Please check the following Doc for more info:
=> https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-loop-index

#1276693

That did it. Thanks!