434 posts
  • Helped several times protecting Envato Market against copyright violations
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
+7 more
Jaynesh says


One thing that still isn’t explained to me clearly is the use of Options plugins. Many authors including myself use plugins to add custom options. e.g OptionTree

How would this be handled for themes using OptionTree?

Can I get an official response on this ASAP so I know what path to take with my theme.

Thanks
There is no problem with using an options framework such as OptionTree. It is even listed as allowable under Phase 2 in the requirements article.

Hello,

I don’t see this mentioned in the Notes or the official requirements. So can you confirm that Options plugins such as OptionTree and Advanced Custom Fields can be hard coded into the theme and not be included via TGM?

Thanks

2002 posts
  • Has referred 50+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 more
bitfade says
Some questions about phase 2 and bespoke plugins:

  • most authors already have built their own frameworks, by moving features into plugins duplicate code will most likely occur: it’s safe to assume that this won’t be an issue during item review ?

  • Due the above (common code used by both plugin and theme), some updates may require buyers to update both at the same time. According to direct experience, some buyers will not (for instance they could update theme only) either by mistake or due to technical issues (as in, the plugin update server being down) so we must somehow prevent buyer website from breaking until they do it the proper way. A possible solution could be

    1. to embed plugin code in the theme as well
    2. if plugin is not installed, none of the above code will be ever used
    3. if plugin is installed and version matches, plugin code is used
    4. if plugin is installed but not updated, embedded plugin code is used until the buyer updates (goto 2)

    Would the above be acceptable under the new rules ?
366 posts WordPress Guy
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+5 more
Japh Envato team says

I don’t see this mentioned in the Notes or the official requirements. So can you confirm that Options plugins such as OptionTree and Advanced Custom Fields can be hard coded into the theme and not be included via TGM?

Search for “Theme options framework” in the page and you will find it :)

Advanced Custom Fields is a separate issue, and should be a plugin via the TGM Plugin Activation class.

366 posts WordPress Guy
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+5 more
Japh Envato team says

Some questions about phase 2 and bespoke plugins:

  • most authors already have built their own frameworks, by moving features into plugins duplicate code will most likely occur: it’s safe to assume that this won’t be an issue during item review ?

  • Due the above (common code used by both plugin and theme), some updates may require buyers to update both at the same time. According to direct experience, some buyers will not (for instance they could update theme only) either by mistake or due to technical issues (as in, the plugin update server being down) so we must somehow prevent buyer website from breaking until they do it the proper way. A possible solution could be

    1. to embed plugin code in the theme as well
    2. if plugin is not installed, none of the above code will be ever used
    3. if plugin is installed and version matches, plugin code is used
    4. if plugin is installed but not updated, embedded plugin code is used until the buyer updates (goto 2)

    Would the above be acceptable under the new rules ?

This sounds very reasonable to me. Reviewers will look at these on a case-by-case basis.

141 posts
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has collected 1+ items on Envato Market
+4 more
Cubell says

edit: I just realized that I only read the notes! just saw the link to the actual list of requirements, ignore this post please :)

808 posts We're a nice team!
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has sold $125,000+ on Envato Market
+9 more
ThemeFocus says

Themes are not permitted to add options that define the number of posts to show on archive or category pages via a global setting.

If I create a custom post type, then can I add a options for it with the number of posts show?

Thanks.

22 posts
  • Had an item featured on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has referred 200+ members
+4 more
ThemesIndep says
Advanced Custom Fields is a separate issue, and should be a plugin via the TGM Plugin Activation class.

Hi Japh, adding ACF as a plugin? If buyer switch to another theme, ACF won’t work anyway. All calls to ACF fields will remane in a previous theme. Also, when ACF is being included in the theme it being used as a Lite Mode, which is defined in functions.php. What to do about that?

8 posts
  • Has been part of the Envato Community for over 2 years
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in Germany
BytesForAll says

Thanks for allowing dynamic inline CSS :bigsmile:

366 posts WordPress Guy
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+5 more
Japh Envato team says

If I create a custom post type, then can I add a options for it with the number of posts show?

Correct, providing it’s not done via a global setting that will affect, for example, plugins that need to show a list of posts.

366 posts WordPress Guy
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+5 more
Japh Envato team says

Hi Japh, adding ACF as a plugin? If buyer switch to another theme, ACF won’t work anyway. All calls to ACF fields will remane in a previous theme. Also, when ACF is being included in the theme it being used as a Lite Mode, which is defined in functions.php. What to do about that?

While I understand that if the theme is specifically referring to ACF field names, they won’t show in another theme, the data will still be available in the back end for the user.

by
by
by
by
by
by