•  

Building a Child Theme

  1. u 1
    offline
    Mark
    Posted 1 year ago

    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;

    http://www.premiumpress.com/wordpress-child-themes/

  2. u 3247
    offline
    Dallas
    Posted 1 year ago

    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

  3. u 1
    offline
    Mark
    Posted 1 year ago

    my pleasure

  4. u 5549
    offline
    ELIAS
    Posted 1 year ago

    Thanks for this

  5. u 6967
    offline
    Reyven
    Posted 1 year ago

    very nice one. thnx

  6. u 255
    offline
    Tonyavailable for hire
    Posted 1 year ago

    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?

  7. u 5519
    offline
    Bill
    Posted 1 year ago

    Themes has example child theme for you, they have all the files included to you to modify.

    Bill.

  8. u 217
    offline
    Richard Bavailable for hire
    Posted 1 year ago

    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.

    For PremiumPress theme customisations, plugins, child themes and support visit:
    http://premiumwebservices.co.uk
  9. u 1
    offline
    Mark
    Posted 1 year ago

    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.

  10. u 217
    offline
    Richard Bavailable for hire
    Posted 1 year ago

    Thank you Mark, I will have a look into that.

  11. u 1
    offline
    Mark
    Posted 1 year ago

    np

  12. u 562
    offline
    Darren
    Posted 1 year ago

    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?

  13. u 217
    offline
    Richard Bavailable for hire
    Posted 1 year ago

    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

  14. u 562
    offline
    Darren
    Posted 1 year ago

    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.

  15. u 562
    offline
    Darren
    Posted 1 year ago

    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..

  16. u 201
    offline
    Warrenavailable for hire
    Posted 1 year ago

    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

    http://www.lunafire.com

    Premium Press assistance
    by Warren
    http://www.lunafire.com
  17. u 217
    offline
    Richard Bavailable for hire
    Posted 1 year ago

    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

  18. u 1
    offline
    Mark
    Posted 1 year ago

    Thanks noticed thus is now an old topic so closing.


Topic Closed

This topic has been closed to new replies.