Hi All
I have added a few video tutorials to help those looking to create their own child themes, let me know if you have any questions;
Hi All
I have added a few video tutorials to help those looking to create their own child themes, let me know if you have any questions;
Thanks for this: it has been a big help for me understanding child themes: I've read lots of articles but this video makes things much clearer: hope to try one out soon
my pleasure
Thanks for this
very nice one. thnx
The video implies that any file I want to customize, I need to move into my chosen child theme directory...
When I tried this with version 5 it mostly resulted in memory errors, and when I reported it via the ticket system, I got back this
Mark noted that : "There are only some files you can place in the child theme folders, the single.php is part of wordpress, you can put that into a child folder otherwise it will just break. The theme has header/footer and sidebar options thats all."
I couldn't even add the main footer.php to the child directory without it posting a memory error, untouched. The global memory size limit is set to 90M. I can't make it larger.
Since the ticket reply implies that not all files are able to be mirrored into the child theme directory, but the tutorial pretty much implies there are no limitations, is this still the same with V6, and if so perhaps a published list of exactly which can be moved and which cannot would clear that up?
Themes has example child theme for you, they have all the files included to you to modify.
Bill.
Bill, that is great.
One question though, how can we modify any of the Admin options via child themes? As there don't seem to be any hooks or other way to do it.
there isnt any hooks for admin options since they are all hard coded, if you need to edit admin pages you could create a plugin.
Thank you Mark, I will have a look into that.
np
Ok so hold on, Is Tony talking about the single.php file within the templates_shopperpress folder or is he trying to copy the core wordpress single.php file??
To be honest, ive always just edited the files that need editing, i havent worried too much about it but i would like to work in a less destructive way, my understanding now is that i could copy pretty much any file within the templates_shopperpress folder across to my child theme folder and modify it there..
Is this correct?
Hi Darren,
Not every file in templates_shopperpress is suitable to be just copied and used, but majority do. You can check the example child theme in shopperpress/themes/shopperpress-example-child-theme/ , there are all the files that you could use for your own child theme.
You can see video and some other information here (this is what Mark has created):
http://www.premiumpress.com/wordpress-child-themes/
I have also written some guide on my site:
http://premiumwebservices.co.uk/creating-a-premiumpress-child-theme/
There is also a discussion forum that enables you to discuss any specific child theme creation issues:
http://premiumwebservices.co.uk/forum/tutorials/creating-a-premiumpress-child-theme/
Hope that helps you.
Kind regards,
Richard
Cool, yeah i had a look at the videos, i normally just jump in and play around as most stuff is for myself, now that i am servicing clients more, i'm really keen on creating something that allows people to update the core files.. I'd like to create a few different versions so will keep you posted.
Hey hold on a sec... i just downloaded the example child theme and there are no other files in there other than the homepage.php file.
Im guessing most of the ones im going to want to modify ie: single.php, gallerypage.php, sidebar.php are all going to be fine.. And im guessing its going to be pretty obvious when one doesnt work huh..
The latest version of Shopper Press doesn't include the sample child theme. In general, the files located in the template_shopperpress folder can be updated and move to a child theme.
And yes, if it doesn't work, you probably cannot move it. Sometimes I will put a text value at the top of the file to show it is being called (quick and dirty tracing). (Of course, sometimes this generates a header error. Just remove it.)
Good luck,
Warren
Here are some more information on creating PremiumPress child themes:
http://www.premiumpress.com/wordpress-child-themes/
http://premiumwebservices.co.uk/creating-a-premiumpress-child-theme/
If you still have any questions, please let me know.
Kind regards,
Richard
Thanks noticed thus is now an old topic so closing.
This topic has been closed to new replies.