no-thumbnail
MoonRocketStudio Recent Posts Threads Started
18 posts
  • Has been part of the Envato Community for over 1 year
  • Sells items exclusively on Envato Market
MoonRocketStudio says

I am working on a WP theme right now, but have some down time and this question popped up in my mind.

If I build an options panel, and have a solid functions.php, header.php, footer.php, etc etc can I just focus on a new design concept, maybe slightly different options whilst keeping the core files from my other theme, and just re structure the layout div’s and main CSS?

Or would I unfortunately have to start from scratch, I guess it wouldn’t make much sense and given that using frameworks is legal, wouldn’t keeping my core files be considered my own framework.

Just fill me in on as much about this as you can, I know envato touches up on this topic briefly, but it would be nice to go into more depth and see what other authors thoughts are about the subject.

639 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
ChapterThemes says

Yes you can re-use all the code you want, if you put it in another design. No need to re-write theme options or whatever.

You don’t need to re-invent the wheel every time you create a new theme. Most authors with several themes have created their own framework in time and keep re-using it.

no-thumbnail
MoonRocketStudio Recent Posts Threads Started
18 posts
  • Has been part of the Envato Community for over 1 year
  • Sells items exclusively on Envato Market
MoonRocketStudio says

Awesome, I am excited to release my first theme here, I hope it goes well… I like your theme it looks good, why aren’t you releasing more? You need to…

639 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
ChapterThemes says

Awesome, I am excited to release my first theme here, I hope it goes well… I like your theme it looks good, why aren’t you releasing more? You need to…

Thanks :) I’m working on a new one. But things go slow since i also have to work for my regular clients. But things should be speeding up shortly :)

Looking forward to your theme!

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

A note to everyone else reading this: You can reuse YOUR code, and not someone else’s.

So unless you have their permission, do not go downloading files and reusing their code as yours, because it may result in a ban.

Just wanted to add that since we’ve been having quite a number of these issues…

639 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
ChapterThemes says

A note to everyone else reading this: You can reuse YOUR code, and not someone else’s.

So unless you have their permission, do not go downloading files and reusing their code as yours, because it may result in a ban.

Just wanted to add that since we’ve been having quite a number of these issues…

Unless the code is from some GPL free licenced framework or plugin or whatever.

3369 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says

A note to everyone else reading this: You can reuse YOUR code, and not someone else’s.

So unless you have their permission, do not go downloading files and reusing their code as yours, because it may result in a ban.

Just wanted to add that since we’ve been having quite a number of these issues…

actually if its a WordPress theme the PHP is GPL and you can reuse it…... but only the PHP and all copyright notices need to stay intact

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

Well yeah, but as I mentioned, you need to have their permission, i.e., GPL license. :)

no-thumbnail
MoonRocketStudio Recent Posts Threads Started
18 posts
  • Has been part of the Envato Community for over 1 year
  • Sells items exclusively on Envato Market
MoonRocketStudio says

Good stuff guys, yeah that has me sweating a little bit, I have studied some themes code to fully understand things like the functions.php and shortcodes.php etc etc, it’s good to know that is it NOT okay to use any of that code.

So I will continue to learn from the other themes but do my best to rewrite it into my own handwritten PHP.

That said, what do you guys do as far as shortcodes.php and functions.php do you modify open source code, or create it from scratch and use it as your own framework, I don’t think that would be so bad, just coding it one time then reusing it in all future themes.

3369 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says

Good stuff guys, yeah that has me sweating a little bit, I have studied some themes code to fully understand things like the functions.php and shortcodes.php etc etc, it’s good to know that is it NOT okay to use any of that code.

So I will continue to learn from the other themes but do my best to rewrite it into my own handwritten PHP.

That said, what do you guys do as far as shortcodes.php and functions.php do you modify open source code, or create it from scratch and use it as your own framework, I don’t think that would be so bad, just coding it one time then reusing it in all future themes.

well you shouldnt really be including shortcodes in your themes, what if the users switch themes? theyll be stuck with a bunch of [shortcode]Hey look at me I used to look pretty not im just useless text[/shortcode]

as for the functions.php I use a “starter” theme which is more like a framework that I coded and maintain myself

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