• Resolved Distiple

    (@distiple)


    I’m trying to create a child theme for twenty ten but it will not show up in WP admin. I’ve double and triple checked my settings and everything seems as it should be.

    Right now all I have is a style.css file in a new folder created in the wpcontent/themes directory. The css file contents are pasted below. What am I missing?

    Thanks.

    /*
    Theme Name: Twentyten Child
    Description: Child theme for the twentyten theme
    Author: YG
    Template: twentyten
    */

    @import url(“../twentyten/style.css”);

Viewing 14 replies - 1 through 14 (of 14 total)
  • WPyogi

    (@wpyogi)

    Do you have caching on your site? What’s the name on the child theme folder?

    Thread Starter Distiple

    (@distiple)

    Thanks for the quick reply.

    I do have caching on my site using the w3 cache plugin, and some manual changes for expirys.

    The name of the folder is twentyten child.

    WPyogi

    (@wpyogi)

    That might be why it’s not showing up? (I’m not familiar with that plugin except for seeing many problems with it here in the forums :).) Have you cleared it (or whatever you do)?

    Are you able to switch to other themes?

    You could also try changing the double quotes to single quotes in the @import line – should not make a difference, but who knows why these things are cranky sometimes.

    EDIT – actually first take the space out of the file folder name – that does sometimes cause problems.

    Thread Starter Distiple

    (@distiple)

    Good ideas, but unfortunately didnt resolve. I tried both clearing the db as well as deactivating the plugin completely.

    I am able to switch to other themes i have download in the past, but no child themes (ive tried several for a few themese).

    WPyogi

    (@wpyogi)

    You tried changing the name on the folder and the quotes? How did you create and upload the child theme?

    Thread Starter Distiple

    (@distiple)

    I did both of those, but no luck yet.

    At first I copied the css file from the parent theme and changed the necessary variables. That didnt work, so i found code from a website explaining the process and uploaded that, which is what im unsuccessfully trying work with now.

    Thread Starter Distiple

    (@distiple)

    Ive also just downloaded a child theme i found on a website and upload that css file, but still nothing.

    WPyogi

    (@wpyogi)

    The file format matters – was it done in a plain text editor and uploaded via FTP?

    Thread Starter Distiple

    (@distiple)

    No, copied and edited on the server using the code editor provided by my hosting company. It is a css file.

    WPyogi

    (@wpyogi)

    That may be the problem – someone else had that issue recently. I’d suggest following this:

    http://codex.wordpress.org/Child_Themes

    Thread Starter Distiple

    (@distiple)

    Thanks, but this is actually what I was using. What problem were you referring to?

    WPyogi

    (@wpyogi)

    I’m not sure that the file editor you used creates a file format that WP wants to read – I’m not sure that is the problem but I’ve seen that before and since there’s not an obvious other problem, just trying whatever might make a difference.

    Thread Starter Distiple

    (@distiple)

    Ok, so it turns im an idiot. For anybody who happens to suffer from the same problems, make sure you are creating the child theme directory in the public_html/wp content/themes folder and not the wp-content folder in the wordpress folder.

    Thanks for all your help, yogi.

    WPyogi

    (@wpyogi)

    LOL! Happens to all of us. Glad you got it sorted…

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Child theme wont show up in admin’ is closed to new replies.