255 posts
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 250 000 and 1 000 000 dollars
  • United States
BuchmannDesign says

Let’s say the home page of a WP theme has some custom text (non-db generated text). Maybe some “intro” text for the site. This text obviously needs to be customized to the buyer of the theme.

What’s the best practice for this? Is the buyer expected to hand-edit the index.php file?

On a related note, there are many static elements in a site… like the “Headings” for the side bar. (Categories, Recent Posts, etc.) People’s preferences for the wording of these headings can vary. Is the buyer expected to hand edit php files to change the heading text? Is there a best practice that i should follow?

Thanks for your help!

John

342 posts
  • Bought between 1 and 9 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Sold between 10 000 and 50 000 dollars
  • United States
reidknorr says

I would say yes… simply provide instructions on how to do it. While this is not ideal and should be avoided if at all possible, there may be some cases where not everything can be edited from the backend. A template sometimes can only reach so far on flexibility and most of the time if the buyer can setup a wordpress site, they can follow directions on how to effectively edit their templates as well. This is where good documentation helps! :)

990 posts It's in the pipeline!
  • Elite Author
  • Exclusive Author
  • Europe
  • Has been a member for 5-6 years
  • Bought between 100 and 499 items
  • Referred between 200 and 499 users
  • Envato Studio (Microlancer) Beta Tester
+2 more
purethemes says

you can always do custom admin panel for your theme, and allow to change static text there

352 posts
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
+1 more
danharper says

Best way would be to have include an admin panel with the theme. I’ve wrote a tutorial for doing this on the ThemeForest Blog

255 posts
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 250 000 and 1 000 000 dollars
  • United States
BuchmannDesign says

I was actually trying to use “Wordpress Theme Toolkit”, which essentially does what your tutorial does… but it’s sooo simple! Problem is it works great on my localhost, but i just uploaded to the server and i’m getting all sorts of errors which i can’t figure out.

Thanks for the tutorial; i’ll be trying it out today!

John

255 posts
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 250 000 and 1 000 000 dollars
  • United States
BuchmannDesign says
Best way would be to have include an admin panel with the theme. I’ve wrote a tutorial for doing this on the ThemeForest Blog

Dan, i followed your tutorial exactly (copy/pasted code), but when i try to echo $mytheme_welcome_message; i don’t get any output. Someone in the comments also had the same problem, so i’m not alone! Is this a problem that you know a solution to?

Thanks, John

255 posts
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 250 000 and 1 000 000 dollars
  • United States
BuchmannDesign says

Ok, i got it to work, but it’s strange. It doesn’t work when i put the required php code in the header.php file. If i put that code at the top of my index.php and others, then it all works!

So i just put the code in it’s own .php file and i’m including it on every page.

John

by
by
by
by
by
by