484 posts Premium Website Design
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Referred between 50 and 99 users
  • Bought between 10 and 49 items
  • Has been a member for 1-2 years
  • Exclusive Author
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

5311 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
  • Author had a Free File of the Month
+5 more
CodingJack says

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

158 posts
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 50 and 99 users
  • Sold between 1 000 and 5 000 dollars
  • United States
greenshady says

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

107 posts
  • Has been a member for 4-5 years
  • Romania
  • Envato Studio (Microlancer) Beta Tester
  • Bought between 10 and 49 items
  • Exclusive Author
cippo says

Maybe static variables will help you.

707 posts
  • Sold between 10 000 and 50 000 dollars
  • Referred between 10 and 49 users
  • Bought between 10 and 49 items
  • Has been a member for 5-6 years
  • Exclusive Author
  • Envato Studio (Microlancer) Beta Tester
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

484 posts Premium Website Design
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Referred between 50 and 99 users
  • Bought between 10 and 49 items
  • Has been a member for 1-2 years
  • Exclusive Author
SpyroPress says

I am seeking some serious replies..

426 posts
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
  • Referred between 1 and 9 users
  • United Kingdom
SimpleSites4U says

I am seeking some serious replies..

The replies are serious

484 posts Premium Website Design
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Referred between 50 and 99 users
  • Bought between 10 and 49 items
  • Has been a member for 1-2 years
  • Exclusive Author
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

3069 posts
  • Has been a member for 6-7 years
  • Won a Competition
  • Sold between 50 000 and 100 000 dollars
  • Bought between 10 and 49 items
  • Referred between 50 and 99 users
  • Exclusive Author
  • Romania
wickedpixel says

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

1093 posts
  • Has been a member for 7-8 years
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Won a Competition
  • Envato Studio (Microlancer) Beta Tester
  • United States
  • Bought between 50 and 99 items
  • Referred between 10 and 49 users
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