Support » Theme: Thematic » broke child theme

  • Resolved Nick Armstrong


    Howdy — I just upgraded to and noticed an error in our validation.

    Error reported: `<div id=”post-5″ class=”<br />
    <b>Warning</b>: Missing argument 1 for thematic_post_class(), called in /home/gravity1/public_html/wp-content/themes/g1020/growler-fw-page.php on line 45 and defined in <b>/home/gravity1/public_html/wp-content/themes/thematic/library/extensions/dynamic-classes.php</b> on line <b>426</b><br />

    Code in child theme:

    echo '<div id="post-' . get_the_ID() . '" ';
    					// Checking for defined constant to enable Thematic's post classes
    					if ( ! ( THEMATIC_COMPATIBLE_POST_CLASS ) ) {
    						echo '>';
    					} else {
    						echo 'class="';
    						echo '">';

    What do I need to do to fix this?

    Thanks for your time! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • We deprecated the thematic_post_class() function in favor of WordPress’s post_class function. I think you need to look at the page.php template and integrate those changes into your child theme’s custom page template

    Look for:

    // action hook for placing content above #post

    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?> >


    // creating the post header

    <div class="entry-content">

    Awesome – that did the trick, thanks! 🙂


    Mark the thread as resolved when you have the time. It’d also be awesome if you could take a moment or two to submit a review of your experience with the theme.

    For future reference you can also find support for Thematic over here:

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ broke child theme’ is closed to new replies.