WordPress.org

Ready to get started?Download WordPress

Forums

Blaskan
[resolved] "The parent theme is missing" (6 posts)

  1. kunjulam
    Member
    Posted 1 year ago #

    Hi all,
    I'm trying to create a child theme for Blaskan. Following Per's instructions (http://www.helloper.com/blog/2012/02/wordpress-child-theme-boilerplate-for-blaskan/) to a T, I downloaded the child theme boilerplate to my Mac and modified style.css to read as such:

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. Not blockquote. ]

    /*
    Theme Name:     Blaskan Child
    Theme URI:      http://blaskan.net
    Description:    Child theme for the Blaskan theme
    Author:         Seetha Sankaranarayan
    Author URI:     http://www.kunjulam.com/
    Template:       blaskan
    Version:        1.0
    */
    
    @import url("../blaskan/style.css");

    I then renamed the blaskanchild file on my Mac (it downloaded with a different name) and compressed it with my updated style.css in it. I logged into my cpanel file manager and created a new directory. Within this directory, I uploaded my blaskanchild zip and extracted the files within:

    public_html/kunjulam.com/wp-content/themes/blaskanchild

    However, when I went to activate the child theme in WP so I could begin to modify it, I got this:

    Broken Themes
    
    The following themes are installed but incomplete. Themes must have a stylesheet and a template.
    
    Name	Description
    Blaskan Child	The parent theme is missing. Please install the "blaskan" parent theme.

    I know the parent theme is installed because I'm using it now! http://www.kunjulam.com

    As you can see in the code I copied above, I've entered the template name in all lowercase. Fixing the case seems to have worked for just about everyone else with this problem but me! GAH.

    And finally, I've already tried wiping the parent and child themes from my directory and reinstalling them. Ditto activating a different theme and then trying Blaskan again.

    Any ideas? Bueller? Bueller? This is my first crack at a child theme, so it's possible that I'm missing a really basic step in here. Thanks in advance to all you lovely, code-savvy folks!

    http://wordpress.org/extend/themes/blaskan/

  2. This is my first crack at a child theme

    You're almost there too. ;) You've installed the parent Blaskan theme incorrectly.

    It's at wp-content/themes/blaskan/blaskan/style.css (see the blaskan/blaskan?) when it should be in wp-content/themes/blaskan/ (less the second blaskan).

    That's why the child theme doesn't work. Try moving the parent theme so that it's only one directory above themes and isn't nested in a second blaskan directory.

  3. kunjulam
    Member
    Posted 1 year ago #

    Gotcha, I moved the files and it worked! But now I'm getting this:

    Parse error: syntax error, unexpected $end in /home/seethas/public_html/kunjulam.com/wp-content/themes/blaskanchild/functions.php on line 1

    I checked functions.php, the one from Per's boilerplate, and this is the only thing in it:

    <?php

    Any advice? Thanks so much for your quick response!!

  4. If there are no functions in the child theme copy, try just deleting the blaskanchild/functions.php.

  5. kunjulam
    Member
    Posted 1 year ago #

    It worked! Thank you so much for your help Jan!

  6. Glad to help. :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags