• 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)
  • What is the code in your new style.css file?

    Thread Starter Mag_ick

    (@mag_ick)

    /*
    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);

    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?

    Thread Starter Mag_ick

    (@mag_ick)

    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.

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

    Thread Starter Mag_ick

    (@mag_ick)

    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

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

    Thread Starter Mag_ick

    (@mag_ick)

    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

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

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

    Thread Starter Mag_ick

    (@mag_ick)

    Hi Andrew

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

    Edit NVM ??

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

    Thread Starter Mag_ick

    (@mag_ick)

    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?

    Thread Starter Mag_ick

    (@mag_ick)

    I’ve cleared the cache again

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

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

    Thread Starter Mag_ick

    (@mag_ick)

    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.