The Bootstrap
[resolved] Child theme not finding inc folder (4 posts)

  1. bzeffren
    Posted 2 years ago #

    I'm running WP 3.5 and have updated The Bootstrap to the latest version from GitHub.

    I've been developing a child theme based off The Bootstrap, and everything was going great until this morning. On loading any page, I'm not getting this error

    Fatal error: Call to undefined function tha_head_top() in /nfs/c05/h05/mnt/159995/domains/blog.growtalks.com/html/wp-content/themes/Grow-Talks/header.php on line 15

    I did find this in The Bootstrap functions.php
    if ( version_compare( get_bloginfo( 'version' ), '3.4', '<' ) )
    which would seemingly not load the /inc files for WP 3.5, but changing this to
    if ( version_compare( get_bloginfo( 'version' ), '3.5', '<' ) )
    didn't help. Any thoughts?



  2. Konstantin Obenland
    Code Wizard
    Theme Author

    Posted 2 years ago #

    The function definition is included here, after adding support for the hooks here. Make sure the Theme supports the hooks for the declaration to be loaded.

  3. bzeffren
    Posted 2 years ago #

    Thanks for the response Konstantin.
    I think the issue was actually a corrupted style.css in the child theme was preventing everything from loading properly, but for some reason WP wasn't telling me that the child theme was broken or de-activated like it usually does. I created a new style.css file and pasted in the old content, and it seems to be working now.

  4. Konstantin Obenland
    Code Wizard
    Theme Author

    Posted 2 years ago #

    Sweet! Happy Holidays! :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic