Tracking the number of shortcodes for a list?
Wrap an <ol> around them and have your [resource] shortcode create an <li> for each one. Editor view: <ol> [resource name=”Resource” link=”http://foo.com”]Why I love it[/resource] [resource name=”Another Resource” link=”http://footwo.com”]Why I love this[/resource] </ol> HTML output: <ol> <li><a href=”http://foo.com”>Resource</a><p>Why I love it</p></li> <li><a href=”http://footwo.com”>Another Resource</a><p>Why I love this</p></li> </ol>