Support » Themes and Templates » child theme not appearing in themes for activation

  • Hi, hope you will be able to help.
    I have created a Child template of Spun following the instruction in the WordPress.org codex.

    When I go to my dashboard, Appearance, themes, I cannot find it to activate it. Any ideas?

Viewing 15 replies - 1 through 15 (of 23 total)
  • WPyogi

    (@wpyogi)

    Forum Moderator

    What is the code in your new style.css file?

    /*
    Theme Name: spun child
    Theme URI: http://example.com/
    Description: Child theme for spun theme
    Author: Your name here
    Author URI: http://example.com/about/
    Template: spun
    Version: 0.1.0
    */
    @import url (“../spun/style.css);

    WPyogi

    (@wpyogi)

    Forum Moderator

    You’re missing a closing quotation mark here and also remove the space between “url” and “(“

    @import url ("../spun/style.css);

    But also, is your files structure correct?

    themes
        spun
        spunchild

    What is the name on the child theme folder?

    Hi
    It was spun-child which meant it appeared higher up than spun.
    I have changed the name to spunchild and refreshed and it now appears under spun
    also added the closing quotation mark (“../spun/style.css”);

    Still cant see it in Appearance, themes. Im assuming it will come up with the other templates Twnety Twelve, Twenty Eleven etc.

    WPyogi

    (@wpyogi)

    Forum Moderator

    Did you remove the space after “url” in the @import line?

    No I hadn’t… I have now

    /*
    Theme Name: spun child
    Theme URI: http://example.com/
    Description: Child theme for spun theme
    Author: Your name here
    Author URI: http://example.com/about/
    Template: spun
    Version: 0.1.0
    */
    @import url(“../spun/style.css”);

    still not working

    WPyogi

    (@wpyogi)

    Forum Moderator

    How did you create that file? Using a plain text editor and then uploaded?

    I created a new text file, but copy and pasted the info from the codex and then edited it.

    Which I thought would be ok in a text editor?? I am v new to this

    Moderator Andrew Nevins

    (@anevins)

    Front-end developer

    Can you link a webpage with your Child Theme theme activated? Edit NVM didn’t read.

    Hi Andrew

    The problem is that I cant activate the child theme from the dashboard, its not visible to be selected.

    Edit NVM ??

    WPyogi

    (@wpyogi)

    Forum Moderator

    Do you have any caching on your site? Also clear your browser cache.

    Hi
    I cleared google caching yesterday when I had difficulty making the site live through my Hosts FTP manager.

    Is there another cache I need to look at and how would I get there?

    I’ve cleared the cache again

    Moderator Andrew Nevins

    (@anevins)

    Front-end developer

    Just to clarify, in which directory is your Child Theme?

    C:\Program Files\wordpress-3.6\wordpress\wp-content\themes

    then within themes

    spun
    spunchild
    twentythirteen
    twentytwelve
    index.php

    The wordpress 3.6 had been sitting in downloads and accessed via my desktop. One of the things I thought might help rectify was to move it to Program Files. The Spun compressed files are still in the Download file I think, but the spun files were extracted to the above file path.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘child theme not appearing in themes for activation’ is closed to new replies.