• Resolved niaskywalk

    (@niaskywalk)


    I tried searching the forums, but every time I think I get close to an answer, the topic shoots off in a different direction or the only relevant part is a ‘thread hijacker’ that gets told to make their own thread, which they don’t. So if I am missing something please redirect me there.

    I am attempting to build a child theme from ‘twentyten’ for a customer. However, I keep getting an error. I haven’t had much issue in the past, so I am confused. I use this link http://codex.wordpress.org/Child_Themes to build the folder.

    I created a folder in my themes directory so it looks like this:

    /themes
    ../twentyten
    ../twentyten-child

    As per the intructions, I added exactly as suggested, a single style.css file, that looks like this:

    /*
     Theme Name:   twentyten-child
     Description:  Twenty Ten Child Theme
     Author:       Victoria Kariolic
     Template:     twentyten
    */
    
    @import url("../twentyten/style.css");
    
    /* =Theme customization starts here
    -------------------------------------------------------------- */

    However, when I go to the themes directory after upload:

    Broken Themes
    
    The following themes are installed but incomplete. Themes must have a stylesheet and a template.
    
    Name	Description
    twentyten-child Description: Twenty Ten Child Theme Author: Victoria Kariolic Template: twentyten	Template is missing.

    According to the article, I only need the CSS… can someone tell me what may be broken here and how I can fix it?

    Steps I have taken
    Tried deleting custom styles in case there was something broken there.
    This returned no change in error.

    Added an Index.php from Twentyten.
    This created a BLANK theme. Nothing showed, no content.

    Added Custom Header
    This also had no effect even when combined with index.php NOTE: I just needed one small change to twentyten header so I copied entire file to child theme, I do not see where I would need to make adjustments to return to the parent theme files.

    Any help would be very appreciated!

    Thank you,
    nia

    ps.
    Currently, I have adjusted the original files to allow the customer to have the adjustments now while I figure out the issues. I am working at http://knowyourthyroid.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can download a pre-made Twenty Ten child theme from here

    Thread Starter niaskywalk

    (@niaskywalk)

    After searching the WP forums, and finally breaking down to write this help request, I returned to my wordpress site where I needed to make additional adjustments, which took me to the WP editor instead of just adjusting a file and uploading it via FTP. Out of curiosity, and no other real need, I looked at the dropdown menu to show the themes available to edit and I discovered something strange.

    I saw that the child theme was coming up as a really long name including all the information in the whole file.

    Curious, I looked at the file. It turns out the file was not picking up line breaks. Formerly, I have had this issue with MS Notepad which is why I haven’t used it in years, but I am using Notepad++ which never did that to me before. I returned to my computer, opened the file in a new editor, saved and uploaded it. The line breaks remained this time and the Child Theme is now working.

    This is a bizarre issue. I hope this thread will not be deleted because it is just a crazy fluke that others might have issue with. It does not make sense to me why the missing line breaks should break the whole file, but there you have it.

    Many thanks to those who WOULD’VE helped if I didn’t resolve the case accidentally.

    Thread Starter niaskywalk

    (@niaskywalk)

    Thank you @esmi! I downloaded that anyway 😀

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Child Theme Issues’ is closed to new replies.