Skip Navigation

[Resolved] index number

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

Last updated by Minesh 6 years ago.

Assisted by: Minesh.

Author
Posts
#1198409

Hello,
How can I show index number of the post with a shortcode in a view?
For example:
Number [item-number?] of [wpv-found-count]

#1198511

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - we are going to publish new shortcode [wpv-loop-index] that will help you to display the loop index with the next view's version 2.7.3, I suggest to hold on as we are supposed to publish this version very soon. You can expect it by this week or maximum by next week.

I will update you as soon as we publish this version.

#1198570

It will consider infinite scroll? I want to say, each page, wpv-loop-index reset index or continues? (I would like the numbering to continue, because, now, If I use the conditionals [wpv-item index=1] , [wpv-item index=other], numbers index reset, and count from one, two.. etc in "each page")

#1199148

Minesh
Supporter

Languages: English (English )

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

Well - the documentation is in progress, I cant tell you anything until the shortcode will be officially published. It looks like there is option which you can set to reset the index on each page as well as continue index with each page.

Please hold on for further updates. I've got the news that we might release this by early next week if everything goes as planned.

#1200808

Minesh
Supporter

Languages: English (English )

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

I would like to let you know that we publish the views version 2.7.3 and we also added the shortcode [wpv-loop-index].

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

Please update ALL Toolset plugins and try to resolve your issue.