Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKonrad Pilch
2,435 PointsAnything wron giwht this code>?
Whats wron giwth this code?
<?php
/**
* @package Bootstrap to WordPress
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( sprintf( '<h3 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h3>' ); ?>
<?php if ( 'post' == get_post_type() ) : ?>
<div class="post-details">
<i class="fa fa-user"></i> <?php the_author(); ?>
<i class="fa fa-clock-o"></i> <time><?php the_date(); ?></time>
<i class="fa fa-folder"></i> <?php the_category(', '); ?>
<i class="fa fa-tags"></i> <?php the_tags(); ?>
<div class="post-comments-badge">
<a href="<?php comments_link(); ?>"><i class="fa fa-comments"></i> <?php comments_number( 0, 1, '%'); ?></a>
</div><!-- post-comments-badge -->
<?php edit_post_link( 'Edit', '<div><i class="fa fa-pencil"></i> ', '</div>' ); ?>
</div><!-- post-details -->
<?php endif; ?>
</header><!-- .entry-header -->
<?php if ( has_post_thumbnail() ) { // check for feature image ?>
<div class="post-image">
<?php the_post_thumbnail(); ?>
</div><!-- post-image -->
<?php } ?>
<div class="post-excerpt">
<?php the_excerpt(); ?>
</div><!-- post-excerpt -->
</article><!-- #post-## -->
It doesnt display the tags nor the blog writing.