Tracking the number of shortcodes for a list?

I want to have a list of my top 10 favorite resources. Each resource is going to be in a shortcode

[resource name=”Resoruce Name” link=”http:/”]Why I love the resource[/resoruce]

However, I want to number them, and I’d like to just write them in the order I want and re-organize as time goes on without having to change the #s. Can I use some type of counter variable in the Functions.php to count?

Read more here: Tracking the number of shortcodes for a list?

Leave a Reply

Your email address will not be published. Required fields are marked *