Saturday, 18th May 2013

«

»

Print this Post

Graphene Child Theme Template

It is always better to use a child theme while doing changes to the site / theme. But, as a volunteer at the Graphene Theme Support forum, I see so many people struggling to set up a child theme for the Graphene theme. So, I’ve decided to create a child theme template for the Graphene theme.

You can download the child theme template in this page. It has two files. A ready to use style.css file which is mandatory, and a blank functions.php file.

Download Graphene Child Theme

Click on the above image to download the Graphene Child theme

How to install it?

Download the child theme from the above link. Then go to Appearance –> Themes –> Install Themes and click on Upload. Browse the downloaded theme and hit the Install Now button. Activate the theme in the next step.

Or,

Extract the contents of the graphene-child.zip file and upload the graphene-child folder to the wp-content/themes/ directory using FTP. Then go to Appearance –> Themes and Activate the Graphene Child theme.

(If you’re using a custom header image, then, you need to restore the header image after activating the child theme. The same applies to background images and custom menus as well.)

Have any doubts? Feel free to post a comment or create a thread in the Graphene theme support forum.

- Prasanna SP

Short Link:

About the author

Prasanna SP

Student | WordPress Dev | Tech Blogger | Interested in GNU/Linux, FOSS, php, Drupal, Wordpress, Ethical hacking, Photography, Painting, Literature etc..

62 comments

6 pings

Skip to comment form

  1. Josh

    Love your idea for the child theme download!! Nice work. I’ll be sure to send people your way as they struggle with this.

    Thanks!!!

    1. Prasanna SP

      Thanks Josh!

    2. Josh

      Yes Sir. And just to expand a little, any custom background will also need to be replaced.

      (I’ve already referenced your page here twice ) :)

      1. Prasanna SP

        Ah! Yes, thanks for notifying this. I’ve updated the post.

        (I’ve already referenced your page here twice )

        Thank you so much! It’s been downloaded 38 times within one day! :-)

  2. Helmut

    Hello Josh!
    Thanks for Your Support..

    unfortunatly i get this Message:

    ?> Fatal error: Cannot redeclare _check_activewidgets() (previously declared in /customers/0/3/f/doc-germanicus.net/httpd.www/dox/wp-content/themes/graphene-child/functions.php:4) in /customers/0/3/f/doc-germanicus.net/httpd.www/dox/wp-content/themes/graphene/functions.php on line 2681

    :-(

    Any sugestions..?

    Helmut

    1. Prasanna SP

      Hi Helmut, can you please give me the code that you entered in the child theme’s functions.php file?

      use http://pastebin.com to share codes

  3. Helmut

    I use the Code of the Download-ZIP..

    Í´m looking for maybe changed code..

    One Moment please!

  4. Helmut

    Hi Prasanna,
    here the style.css:
    http://pastebin.com/qX2SGz6m

    Its looks like the original, i think..

    The functions.php
    http://pastebin.com/T6LrGV5H

    Oooh.. there is some extra code. ;)

    1. Prasanna SP

      Oops! What’s that code in functions.php? Who added that?

      1. Helmut

        I have no glue!
        Every time i load the right file up, it was overwritten by the first call off the child-theme..

        I set it to 0644, so it runs ones, but then: its the same..

        Only a different error-message:
        Warning: Cannot modify header information - headers already sent by (output started at /customers/0/3/f/doc-germanicus.net/httpd.www/dox/wp-content/themes/graphene-child/functions.php:2) in /customers/0/3/f/doc-germanicus.net/httpd.www/dox/wp-includes/pluggable.php on line 866

        :-(

        1. Helmut

          Its so Funny.. or superspicious..? ggg

          I try the this:I taking the functions.php from the “Mother”theme, delete all, but the “comment-Header” and the start and endpoint (PHP)

          http://pastebin.com/6i2KT3Tj

          Now its seens to work OK..
          stay on tuned! ;)

          Thank You!

          1. Prasanna SP

            That is not a good solution.. Clear everything in child theme finctions.php and try again..

  5. ems

    Thanks so much for this post!! I’m a total newbie and can not figure out what to do with your file once I download it to my desktop. I am using bluehost for my website, I tried uploading the file into my file-manager but can’t seem to create a folder to put it in?

    I’m in way over my head…hopefully you can help? :)

    thanks!

  6. Corine

    Thank you so much. I am absolutely not technical but loved the theme because of its easy of use. I didn’t know or understand how to create a child theme. Just to make sure though….. will any changes I make stay now even if there is an update or do I need to do something else to avoid losing changes?

    Thanks,

    Corine

    1. Prasanna SP

      Any changes done to the child theme will retain even after the parent theme update. That’s what the purpose of using child theme for theme modifications!

  7. Helmut

    Hi Prasanna! ;)

    Its seems that some Plugins overwrite the functions.php, or put there additional code in it.
    And in the functions.php of the “mother”theme to..
    ==> ERROR..! :-(

    How can I prevent this Prob..?

    Thanks!

    Greetings from Stuttgart,

    Helmut

    1. Prasanna SP

      Hi Helmut,
      That’s strange! Can you list out the plugins you’re using?

  8. Dan

    Thanks so much for this post!! I’m a total newbie and can not figure out what to do with your file once I download it to my desktop. I am using bluehost for my website, I tried uploading the file into my file-manager but can’t seem to create a folder to put it in?

    I’m in way over my head…hopefully you can help?

    thanks!

    1. Prasanna SP

      Hi Dan, please see “How To Install” section in this post.

      Go to Appearance –> Themes –> Install Themes and click on Upload. Browse the downloaded child theme and hit the Install Now button. Activate the Graphene Child theme in the next step.

      Let me know if you find any difficulties in installing the child theme.

    2. Dan

      I’m a bozo…thanks!

  1. How to change / translate a string in Graphene Theme » Prasanna SP

    [...] Here is a custom function to change or translate a string in graphene theme without messing up with parent theme files. This function goes in your child theme’s functions.php file. So, if you are not yet using a child theme, get it now. [...]

  2. Grapheneテーマ/ 子テーマのテンプレート » 自分めも

    [...] Graphene Child Theme Template [...]

  3. Graphene Slider on other pages » Prasanna SP

    [...] already using child theme in your site, you can skip 1st and 2nd steps) Important!See – Graphene Child Theme Template. It has all the necessary files for your theme [...]

  4. How to add date to Graphene Theme Top Bar » Prasanna SP

    [...] This method requires no plugin, but involves editing child theme’s functions.php file. So, if you’re not using child theme yet, go get it! [...]

  5. Animate Return to top using jQuery in Graphene Theme » Prasanna SP

    [...] The scripts I mention here need to be added to child theme of Graphene Theme. So, if you’re not yet using Graphene Child Theme, get it here. [...]

  6. jQuery drop down menu in Graphene Theme » Prasanna SP

    [...] Note: The scripts I mention here need to be added to child theme of Graphene Theme. So, if you’re not yet using a Child Theme yet, get it here. [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

Please put your code snippet between <code> and </code>. Comment moderation is in use. Please do not submit your comment twice -- it will appear shortly.