Removing 'Continue Reading' from Excerpts
-
Hi,
I’ve modified Starker’s bare wordpress theme in order to create a website. This is my first time creating a site through wordpress however I’ve found it pretty straight forward…except for one issue that’s really just stumping me. The ‘continue reading’ text that inserts itself when using the manual excerpt function in the posts. I can’t get rid of it.
I can’t get the <!–more–> text to work I think mostly because I’m pulling posts by category onto several different pages which is why I switched from the_content() to the_excerpt()
Here’s what I’ve tried so far:
I’ve removed any <!–more–> tags in my posts
I’ve looked through every file I can think of and cannot find a single reference to the_excerpt(‘continue reading’) anywhere, in fact, I can’t find the words ‘continue reading’ in any file.
Here is my code:<?php query_posts('cat=3'); if (have_posts()) : while (have_posts()) : the_post();?> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <?php the_excerpt(); ?> <?php endwhile; endif; wp_reset_query(); ?>
I’ve tried it with span tags in between the () with no luck. I’m at the end of my brainstorming, I’ve searched this site and others high and low and have tried everything they’ve suggested with no luck. Any help or insights would be greatly appreciated.
Thanks.
- The topic ‘Removing 'Continue Reading' from Excerpts’ is closed to new replies.