Fatal error for function: get_post_format ()
I just installed WordPress using Dreamhost one-click advanced install.
I deleted my example comment, but my example post is still published.
When I load my site:
I get this error message:
Fatal error: Call to undefined function get_post_format() in […]wp-content/themes/twentyten/loop.php on line 60
Here’s line 60 of loop.php:
<?php if ( in_category( _x( 'gallery', 'gallery category slug', 'twentyten' ) ) || 'gallery' == get_post_format( $post->ID ) ) : ?>
- The topic ‘Fatal error for function: get_post_format ()’ is closed to new replies.