When you use a block with “:” don’t need use {} too.
if( condition… ) : code… endif;
while( condition… ) : code… endwhile;
I don’t know if it help you, but is a start
I know this plugin, very efficient by the way, but still it does not do what I have in mind. I have tried in the last month produce what I have in mind and is almost ready. Once it is complete I want to make available.
The idea is that it is easy for those who create and easy for the layman to use.
When we create a shortcode it appears on the screen in simple format [shortcode attrs …] content [/ shortcode], but I want is to appear in visual formtato.
In my research I found this post here http://generatewp.com/take-shortcodes-ultimate-level/ and it opened a light in my mind.
You’ll notice that it uses pictures to show what the shortcode to do.
I thought to myself, “Hey, why not turn this IMG in any kind of HTML tag?”
And I’m working on it and is almost completed my proposal.