• Resolved Kimbolini

    (@kimbolini)


    I’m trying to create a child theme for Twenty Thirteen, and keep getting ‘Cheatin’ uh?’ message.

    I can’t seem to figure it out, although I’ve done exactly the same with this one as with previous child themes.

    Here is what I have in the child css:

    /*
    Theme Name: Mrs. Treble Clef's Theme
    Theme URI:
    Description: a child theme for Mrs. Treble Clef's Play House
    Author:  Raincoast Web Design https://www.raincoastwebdesign.ca
    Template: twentythirteen
    Author URI:  https://raincoastwebdesign.ca
    Template: twentythirteen
    Version:      1.4
    License:      GNU General Public License v2 or later
    License URI:  https://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: mrs-treble-clef-child
    */
    @import url("../twentythirteen/style.css");

    Here is the url: https://www.tcplayhouse.com/

    Help would be appreciated!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello Kimbolini,

    Hope you’re well! ??

    After creating a child theme using the code snippet you post above. It works fine on me. I suggest you make sure you get the 2013 WordPress theme inside wp-content/themes/ and also create a ‘functions.php’ ( although it is ok to not have this – just to make sure ?? )

    Let me know if it solve you issue. Looking forward for your reply! ??

    Take care,
    Calvin

    Thread Starter Kimbolini

    (@kimbolini)

    Hi Calvin,

    Thanks for your reply. Yes I have the child theme inside the wp-content/themes/ and I tried first with a ‘functions.php’ file as well, although I don’t really need one. I’ve made child themes before so am not new to it, but this time it just refuses to work!

    Any other ideas?

    Thank you,
    Kim

    Hello Kimbolini,

    Hope you’re well! ??

    I suggest you try the other method of creating a child theme. You can find it here: https://codex.www.ads-software.com/Child_Themes

    Hope it helps! ?? Looking forward for your reply! ??

    Take care,
    Calvin

    Thread Starter Kimbolini

    (@kimbolini)

    Hi Calvin,

    Thank you for the suggestion. I did try that before as I saw it was a new recommended way to create the child theme, and it didn’t work. I wondered if it was because the theme I’m making a child for is a few years old now.

    At any rate, I tried again using the enquie method, but I am still getting ‘Cheatin eh’

    Here is what I have done:

    Theme folder located in wp-content/themes
    functions.php and style.css inside the theme folder

    <?php
    add_action( 'wp_enqueue_scripts', 'wpsites_load_parent_styles');
    function wpsites_load_parent_styles() {
    wp_enqueue_style( 'parent-styles', get_template_directory_uri().'/style.css' );
    }
    /*
     Theme Name:   Mrs. Treble Clef's Play House
     Theme URI:
     Description:  Twenty Thirteen Child Theme
     Author:
     Author URI:
     Template:     twentythirteen
     Version:
     License:      GNU General Public License v2 or later
     License URI:  https://www.gnu.org/licenses/gpl-2.0.html
     Tags:         responsive-layout, accessibility-ready
     Text Domain:  twenty-thirteen-child
    */

    I’ve even tried using this to create a child theme of Twenty Fourteen (even though that’s not the one I want to use), just to see if it would work, but all I get is ‘Cheatin eh’

    Hello Kimbolini,

    Hope you’re well! ??

    Are you using any cache plugin? I suggest you disable all plugin temporarily then try it again.

    Also clear your browser’s cookie and cache. If these methods don’t solve the problem I suggest you change theme directly from the database. ( If this is a live site, I suggest taking a backup first ) Read a guide here: https://docs.appthemes.com/tutorials/how-to-change-wordpress-themes-directly-from-the-database/

    Looking forward for your reply! ??

    Best Regards,
    Calvin

    Thread Starter Kimbolini

    (@kimbolini)

    Hello Calvin,

    I’ve discovered what my problem was, and as usual it was something stupid! I had improperly named the folder that my child-theme was in, using capitals and spaces. As soon as I changed the folder to exclude them, the theme registered and I’m able to use it.

    Thanks again for your patience.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Getting Cheatin' uh? on child theme’ is closed to new replies.