Automatically number several attributes of a block.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I am struggling with how to automatically sequentially number each attribute of a block and continue with the next block. I can't think of a better way to describe my challenge than to use an image.
I have a few more configurations of these blocks but the important parts are displayed. I need these numbers to begin at any provided integer and continue for all of the attributes sequentially. The top block in the image only has 12 attributes; the tags do not match and so I need to iterate through the attributes changing the values sequentially. I will need to store the last number into a global so that I can feed it back the next numbered block I insert no matter if the next block has 12, 9, 6, 3, or even 2 attributes.
I have seen many examples of auto incrementing the number in single attribute blocks, but nothing of how to do as I need.
Please help if you are able and understand my challenge.
Thank you in advance.