504 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

5390 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. :)

118 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

504 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

504 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…

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by