• amarstyle

    (@amarstyle)


    Hi,
    I made heavy customization in the parents theme’s style.css, function.php and index.php.

    If I update to the latest version I know I will lose everything.
    Is it possible to make a child them and copy paste the customization from the parent theme?

    If possible can someone please tell me how?

    My site is here: amarstyle.com

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mahesh

    (@sparxengine)

    There is an article about child theme in Codex.

    In short you have to create a new directory for this child theme with contents like-

    style.css
    functions.php
    home.php (if applies)

    and edit the style.css for the child parent relationship.

    e.g. something like this.

    /*
    Theme Name:     Twenty Twelve Child
    Theme URI:      https://example.com/
    Description:    Child theme for the Twenty Twelve theme
    Author:         Your name here
    Author URI:     https://example.com/about/
    Template:       twentytwelve
    Version:        0.1.0
    *
    Thread Starter amarstyle

    (@amarstyle)

    I created the child theme for catch box like the below:

    /*
    Theme Name: Catch Box Child
    Description: Child theme for the Catch Box theme
    Author: Your name here
    Author URI: https://example.com/about/
    Template: catch-box
    Version: 0.1.0
    */

    now when i activate the child theme i get an 500 error. i cannot even login to wp-admin.
    i had go into the database and change the theme in there back to parent catch-box.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Updating Catch Box theme’ is closed to new replies.