post title not showing up on home page
-
Hi, my post title is not showing up on my home page. It IS there in the archives section. Thanks for any help!!
I tried this before and someone tried to help me, but I couldn’t find my index.php code to my theme. I think this is it?!
<?php get_header(); ?>
<div class=”contentLayout”>
<div class=”content”><?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”Post”>
<div class=”Post-body”>
<div class=”Post-inner article”>
<h2 class=”PostHeaderIcon-wrapper”>
<span class=”PostHeader”>” rel=”bookmark” title=”<?php printf(__(‘Permanent Link to %s’, ‘kubrick’), the_title_attribute(‘echo=0’)); ?>”>
</span>
</h2>
<div class=”PostHeaderIcons metadata-icons”></div>
<?php $metadataContent = ob_get_clean(); ?>
<?php if (trim($metadataContent) != ”): ?>
<div class=”PostMetadataHeader”>
<?php echo $metadataContent; ?></div>
<?php endif; ?>
<div class=”PostContent”>
<?php if (is_search()) the_excerpt(); else the_content(__(‘Read the rest of this entry »’, ‘kubrick’)); ?></div>
<div class=”cleared”></div></div>
</div>
</div><?php endwhile; ?>
<?php
$prev_link = get_previous_posts_link(__(‘Newer Entries »’, ‘kubrick’));
$next_link = get_next_posts_link(__(‘« Older Entries’, ‘kubrick’));
?>
<?php if ($prev_link || $next_link): ?>
<div class=”Post”>
<div class=”Post-body”>
<div class=”Post-inner article”><div class=”PostContent”>
<div class=”navigation”>
<div class=”alignleft”><?php echo $next_link; ?></div>
<div class=”alignright”><?php echo $prev_link; ?></div>
</div></div>
<div class=”cleared”></div></div>
</div>
</div><?php endif; ?>
<?php else : ?>
<h2 class=”center”><?php _e(‘Not Found’, ‘kubrick’); ?></h2>
<p class=”center”><?php _e(‘Sorry, but you are looking for something that isn’t here.’, ‘kubrick’); ?></p>
<?php if(function_exists(‘get_search_form’)) get_search_form(); ?>
<?php endif; ?></div>
<div class=”sidebar1″>
<?php include (TEMPLATEPATH . ‘/sidebar1.php’); ?>
</div></div>
<div class=”cleared”></div><?php get_footer(); ?>
- The topic ‘post title not showing up on home page’ is closed to new replies.