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
- United States
- Has been a member for 4-5 years
- Exclusive Author
- Author was Featured
- Sold between 100 000 and 250 000 dollars
- Author has had an Item Featured
- Contributed a Tutorial to a Tuts+ Site
- Author had a Free File of the Month
Just say: “One Million Shortcodes!”. And then when some asks about it just apologize and say you miscounted.
Here’s a thought: Don’t add shortcodes to your theme and you won’t have to worry about counting them.
Maybe static variables will help you.
+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
I am seeking some serious replies..
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?
Are you trying to sale by the numbers? That is a customizable button. Nothing more.