NickArmstrong
Member
Posted 6 months ago #
Howdy --- I just upgraded to 1.0.3.1 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 ) ) {
post_class();
echo '>';
} else {
echo 'class="';
thematic_post_class();
echo '">';
}
What do I need to do to fix this?
Thanks for your time! :-)
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
thematic_abovepost();
?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?> >
<?php
// creating the post header
thematic_postheader();
?>
<div class="entry-content">
NickArmstrong
Member
Posted 6 months ago #
Awesome - that did the trick, thanks! :-)
Great!
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.
http://wordpress.org/support/view/theme-reviews/thematic
For future reference you can also find support for Thematic over here:
http://thematictheme.com/forums