WordPress.org

Ready to get started?Download WordPress

Forums

Spun
Child Theme Broken (11 posts)

  1. etourneau2
    Member
    Posted 1 year ago #

    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.

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Can you post a link to your site?

  3. etourneau2
    Member
    Posted 1 year ago #

  4. Caroline Moore
    Member
    Theme Author

    Posted 1 year ago #

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

  5. etourneau2
    Member
    Posted 1 year ago #

    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.

  6. etourneau2
    Member
    Posted 1 year ago #

    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.

  7. etourneau2
    Member
    Posted 1 year ago #

    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.

  8. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    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.

  9. etourneau2
    Member
    Posted 1 year ago #

    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"

  10. etourneau2
    Member
    Posted 1 year ago #

    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?

  11. etourneau2
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.