506 posts Premium Website Design
  • Had an item that became a weekly top seller
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
+3 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

5464 posts The Dude Abides
  • Became a Top 20 Author of the Month
  • Had an item that was trending
  • Had an item that became a weekly top seller
  • Located in United States
+13 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 6 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. :)

133 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 5 years
  • Located in Romania
+1 more
cippo
says

Maybe static variables will help you.

709 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

506 posts Premium Website Design
  • Had an item that became a weekly top seller
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
+3 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
  • Had an item that became a weekly top seller
+3 more
SimpleSites4U
says

I am seeking some serious replies..

The replies are serious

506 posts Premium Website Design
  • Had an item that became a weekly top seller
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $250,000+ on Envato Market
+3 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 that became a weekly top seller
+7 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
+6 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