Support » Theme: Spun » Child Theme Broken

  • Hello,
    I had been successfully using a child theme from version 1.6. When it updated to 1.7, the child theme functionality has been lost and when I go into edit the CSS file, a banner at the top states “This theme is broken. The parent theme is missing. Please install the “Spun” parent theme.”

    I have checked everything in the header to make sure it is current with and matches version 1.7, I have no idea how to fix this. Please help.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Can you post a link to your site?

    Theme Author Caroline Moore

    (@sixhours)

    Have you tried deleting and reinstalling the Spun parent theme? Possibly something was corrupted in the update process.

    Yes, I have tried deleting and re-installing 1.07 and 1.06, finally gave up and going back to 1.07 because it is working better for me. I am going to try to delete all of my child theme files on my hosting server and start back over with the currently installed version.

    I was able to fix the “Parent theme missing error” based upon a very old post that I found where Spun was capitalized (copying the style sheet of the parent theme). Making it lower case took away the error, HOWEVER…

    The edits that I have in my child theme from version 1.06 are no longer making the changes to 1.07. In particular, I had changed the number of posts to show on the main page to 20 and the comments to always be showing. Any possible help with this? Thanks.

    Also, when I press the “Older” button to show the older posts on the main page, it initially looks like it is working, then it fails to actually load the older posts and the button goes away.

    Looks like you put php code in the CSS file – that won’t work there:

    //
    function spun_child_posts_per_page( $args ) {
     $args['posts_per_page'] = 20; //
      return $args;
    }
    add_filter( 'infinite_scroll_settings', 'my_theme_posts_per_page' );

    You need to put that in a functions.php file in your child theme.

    Alright,
    I have moved the function to a functions.php file, but it is still not working to extend the number of posts on the home page. Also, when I originally had the issue I was told it was because I was using infinite scroll, I have deactivated infinite scroll in the settings with no luck. Now I am getting an error:

    “Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘my_theme_posts_per_page’ was given in…../wp-includes/plugin.php”

    The older posts button is still not working. Right now I am running spun 1.07 with no major edits and no child theme. Can anyone help me with why this is happening?

    Nevermind, after reading some very old posts, I decided to try some of the troubleshooting recommended. The Squirrely SEO Plugin was causing the problem.

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