ThemeForest

Site Template HTML or PHP?

242 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • United States
  • Referred between 1 and 9 users
ATLChris says

OK, I tried searching the forums for an answer to this, but I couldn’t find anything. I am going to convert one of my Wordpress themes to a non-Wordpress version. I know this new item will go under “Site Templates.” My question to you all is, does it have to be HTML ? Or can I make the files PHP files and use includes for headers and footers?

2 years ago
961 posts
  • Has been a member for 3-4 years
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 1 and 9 users
jeffeatworld says

I have seen site templates using PHP files, but my advice would be to have it all in one file rather than includes. It’s a pain in the butt I know but you’re doing the right thing.

You’ve actaully done it backwards, most do the site template and see how that sells rather than do the Wordpress version – and do yourself (and sales) a favour, leave it at least a month before submitting the HTML verssion.

Your on fire huh! lol :P

2 years ago
242 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • United States
  • Referred between 1 and 9 users
ATLChris says

Thanks for the insite.

I am trying to be on fire, but my stuff just is not selling all that well.

2 years ago
242 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • United States
  • Referred between 1 and 9 users
ATLChris says

Is it OK to make say the contact page a PHP file since I am including a full working script?

2 years ago
194 posts Devil Can't Burn
  • Has been a member for 3-4 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 250 000 and 1 000 000 dollars
  • Elite Author
  • Bought between 10 and 49 items
  • Referred between 10 and 49 users
Devilcantburn says

If you include a complete CMS to manage the template… it’s going on MISC category.. and one of my template is with full cms… the sales are not good in this category.. Better way is to include just a PHP form to contact page…and include header and bottom for a php version. Good luck!

2 years ago
961 posts
  • Has been a member for 3-4 years
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 1 and 9 users
jeffeatworld says

you should be fine with a contact page in php, that’s acceptable – if anything thats a huge, huge plus for your theme.

you sound like you have your head screwed on, you won’t have any trouble with sales just keep plugging away trust me.

2 years ago
2425 posts Customer Service Manager aka SuperDrew
  • Has been a member for 3-4 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Contributed a Blog Post
  • Attended a Community Meetup
  • Interviewed on the Envato Notes blog
  • Envato Staff
  • Support Staff
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 50 and 99 items
  • United States
  • Referred between 10 and 49 users
CreatingDrew says

One thing to keep in mind is if you do end up mixing some php into your site templates (meaning they will have a .php extension instead of .html), be sure to select “php” instead of “html” as the file type(s) included as this can confuse buyers that cannot use any php on their server and is more common than you think :)

Edit – Best of luck with the non wordpress version of your theme :)

2 years ago
CreatingDrew is an Envato staff member
by
by
by
by
by