I would suggest that you change
<p><?php if ( is_category() || is_archive() ) {
the_excerpt();
} else {
the_content();
} ?></p>
into
<?php the_content(); ?>
and to see is that working. If it is, try changing it to
<?php if ( is_category() ) {
the_excerpt();
{ else }
the_content();
}
and so on, until you find what is breaking your code/
Yes, I had tried that. It’s set back to that now and you can see that it’s not working. Any other suggestions?
I just noticed something, but i don’t know is it that. Can you delete
| <?php the_author_meta( 'first_name'); ?> <?php the_author_meta( 'last_name'); ?>
that part of the loop? If you look at your site, that info is not displayed. Maybe that’s the problem. But as far as i can see, your code should work fine.
I deleted that part. No change. Thanks for trying, but I still need to figure this out.
Why would <?php the_content(); ?>
not work?
Here is the index.php code which is where the loop.php code goes to post to the blog’s main page. The <!--page -->
part of this page actually seems to change the page that the blog links go to when you click the “read more” links. I changed the header size in that code and it changed on those blog pages, though those pages don’t say “Read more…” at the bottom as it says in the code; they say “Return >>”. Please let me know if something in this code might be the problem or if we need to look at something else. Thanks!:
<?php get_template_part(‘./template/header’);?>
<body class=”inner-page”>
<div id=”outer-wrapper”>
<?php get_template_part(‘./template/navigation’);?>
<div id=”wrapper”>
<!–header–>
<div id=”header”>
<!–blog title –>
<div class=”blog-title”>
<img src=”<?php bloginfo(‘template_directory’);?>/images/new/kowabunga_masthead.jpg” alt=”” />
</div>
<!–/blog title –>
</div>
<!–/header–>
<!–content–>
<div id=”content”>
<!–sidebar left –>
<div id=”col-1″>
<?php get_template_part(‘./template/archives’);?>
</div>
<!–/sidebar left –>
<!–page –>
<div id=”col-2″>
<h1><?php the_title();?></h1>
<?php
if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<p><?php the_content(‘Read more…’); ?>
<?php endwhile; else: ?>
<?php _e(‘Sorry, no posts matched your criteria.’); ?>
<?php endif; ?>
</div>
<!–/page –>
<?php get_template_part(‘./template/sidebar-right’);?>
<div class=”clear”></div>
</div>
<!–/content–>
<?php get_template_part(‘./template/footer’);?>
`