15 posts
  • Has been part of the Envato Community for over 1 year
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Located in Europe
+1 more
webcaos says

Is possible to use a dynamic stylesheet generated by a custom function and then enqueue it? Or break some rule?

Thanks ;)

152 posts
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
partnuz says

Is possible to use a dynamic stylesheet generated by a custom function and then enqueue it? Or break some rule? Thanks ;)

Bump I would also like to know that.

108 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 1+ items on Envato Market
+4 more
designedbydash says

Is possible to use a dynamic stylesheet generated by a custom function and then enqueue it? Or break some rule? Thanks ;)

I am pretty sure that would be allowed, but I wouldn’t recommend it as I’ve seen on numerous occasions authors saying they’ve done it and it’s just caused headaches. Largely due to different server setups and file permissions etc.

350 posts Gambit
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has collected 100+ items on Envato Market
+4 more
bfintal says


Is possible to use a dynamic stylesheet generated by a custom function and then enqueue it? Or break some rule? Thanks ;)
I am pretty sure that would be allowed, but I wouldn’t recommend it as I’ve seen on numerous occasions authors saying they’ve done it and it’s just caused headaches. Largely due to different server setups and file permissions etc.

I’m sure it’ll be allowed also.

I’ve done this with my themes. Instead of writing files (indeed too much headaches), I opted for PHP that writes out the styles with headers for CSS. Just use caching and expire headers, it works wonders.

1029 posts
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
  • Contributed a free file of the month
+6 more
greenline says
I love especially the next phase, phase 2:
is about separation of concerns. Themes should be responsible for the look and feel of a website, while plugins take care of the functionality. This is precisely why the two exist.

I love this, finally we will be closer to quality standards.

And of course it will help CC authors too, in the cases when TF authors were buying the extended license of a plugin for 30$ and then included it in their themes and making thousands of dollars based on it…

15 posts
  • Has been part of the Envato Community for over 1 year
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Located in Europe
+1 more
webcaos says

I’m totally confused about one point:

Allowed in theme: Page builders

Must be in plugin: Shortcodes

Page builders do a large use of shotcodes, for columns, buttons, tabs, etc.

Someone can make me understand this point please? :)

1208 posts
  • Has been part of the Envato Community for over 4 years
  • 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
Smartik says

I’m totally confused about one point:

Allowed in theme: Page builders

Must be in plugin: Shortcodes

Page builders do a large use of shotcodes, for columns, buttons, tabs, etc.

Someone can make me understand this point please? :)
Best solution: Everything in plugins. ;)
15 posts
  • Has been part of the Envato Community for over 1 year
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Located in Europe
+1 more
webcaos says

Best solution: Everything in plugins. ;)

Is what i was thinking, but the problem is that in my custom framework i have lot of custom functions shared between the normal WP loop and what i’ll now need to move in plugins. So, or duplicate all the shared functions for make the plugins work even with a normal theme, or all bundled plugins which i’ll make as theme support will be totally useless with another theme. Don’t know if is easy understand what i mean… :)

3 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 10+ items on Envato Market
mustafaamd says

No understand ?

15 posts
  • Has been part of the Envato Community for over 1 year
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Located in Europe
+1 more
webcaos says

No understand ?
What i mean is: Example, i have many custom metaboxes for different post types and post formats, if i put all the code for my custom metaboxes in a plugin, this plugin would be useful only with my theme, as is useless for another theme cause probably another theme dont call at all in the frontend the values of my custom metaboxes… Mean just this, is kinda odd make a plugin which can be used only with a theme, had more sense integrate it in the theme. :)
by
by
by
by
by
by