496 posts Premium Website Design
    Has referred 50+ members Has sold $125,000+ on Envato Market Has collected 10+ items on Envato Market Elite Author: Sold more than $75,000 on Envato Market
+2 more
SpyroPress says

Hi,

I am developing a theme for themeforest and I have come to an question. How to count the numbers of shortcodes in a theme. What I saw is the theme authors are counting the styles and color variations as well.

Please help in counting

Thanks

5322 posts The Dude Abides
    Located in United States Elite Author: Sold more than $75,000 on Envato Market Has sold $125,000+ on Envato Market Has been part of the Envato Community for over 5 years
+9 more
CodingJack says

Just say: “One Million Shortcodes!”. And then when some asks about it just apologize and say you miscounted.

158 posts
    Has been part of the Envato Community for over 5 years Has referred 50+ members Has sold $1,000+ on Envato Market Sells items exclusively on Envato Market
+1 more
greenshady says

Here’s a thought: Don’t add shortcodes to your theme and you won’t have to worry about counting them. :)

110 posts
    Has been a beta tester for an Envato feature Has collected 10+ items on Envato Market Has been part of the Envato Community for over 4 years Located in Romania
+1 more
cippo says

Maybe static variables will help you.

707 posts
    Has referred 10+ members Has sold $10,000+ on Envato Market Has been a beta tester for an Envato feature Has collected 10+ items on Envato Market
+2 more
ChillThemes says

+1 to not adding shortcodes in themes. Save yourself some time (and not to mention headaches) and place this link in your documentation: http://www.wpexplorer.com/wordpress-shortcodes-page-builders

496 posts Premium Website Design
    Has referred 50+ members Has sold $125,000+ on Envato Market Has collected 10+ items on Envato Market Elite Author: Sold more than $75,000 on Envato Market
+2 more
SpyroPress says

I am seeking some serious replies..

426 posts
    Has referred 1+ members Has sold $10,000+ on Envato Market Has collected 50+ items on Envato Market Sells items exclusively on Envato Market
+2 more
SimpleSites4U says

I am seeking some serious replies..

The replies are serious

496 posts Premium Website Design
    Has referred 50+ members Has sold $125,000+ on Envato Market Has collected 10+ items on Envato Market Elite Author: Sold more than $75,000 on Envato Market
+2 more
SpyroPress says

I just want to know how you theme developer counts the shortcodes.

Like: I have button shortcode with 4 different sizes and 47 different colors and with 250 icons. What will be the count?

Thanks

3072 posts
    Has referred 50+ members Has sold $40,000+ on Envato Market Has collected 10+ items on Envato Market Had an item featured on Envato Market
+5 more
wickedpixel says

Are you trying to sale by the numbers? That is a customizable button. Nothing more.

1093 posts
    Has referred 10+ members Has sold $40,000+ on Envato Market Has been a beta tester for an Envato feature Has collected 50+ items on Envato Market
+5 more
lifwanian says

Like: I have button shortcode with 4 different sizes and 47 different colors and with 250 icons. What will be the count?

That’s simple math here: 4 * 47 * 250 = 47,000 variations.

But I do like “One million shortcodes!” more…

by
by
by
by
by
by