Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Almost finished my website, but ran into one problem: When you view the archive of a category or do a search, the "more" (or "continue reading") link/ tag doesn't appear. It words fine on the homepage.

Any help would be appreciated - mainly about the category post bit.

Cheers, Will.

share|improve this question
    
does the category template (category.php or archive.php) use 'the_excerpt()' or 'the_content()' ? codex.wordpress.org/Function_Reference/the_excerpt –  Michael Jun 12 '11 at 9:49
    
In the category.php file there is: get_template_part( 'loop', 'category' ); –  JavaNut13 Jun 14 '11 at 9:09
    
can you post the name and download link of your theme? see if your theme has a loop-category.php - if not look into loop.php and check for the 'excerpt' code. if you find 'the_excerpt()', read codex.wordpress.org/Function_Reference/… –  Michael Jun 14 '11 at 9:15
    
I'm using the bog-standard Twenty-Ten theme –  JavaNut13 Jun 28 '11 at 8:48
add comment

3 Answers 3

review this codex and see if the info in it can help: http://codex.wordpress.org/Customizing_the_Read_More

share|improve this answer
    
Quote: "The rest of the post continues, but when viewed on the non-single/non-permalink web page such as archives, categories, front page, and searches, the post is shown as an excerpt to the more point." Exactly what it doesn't do and I want it to do. –  JavaNut13 Jun 12 '11 at 7:38
add comment

Having looked at my 'loop.php' file like Michael said, I replaced

<div class="entry-summary">
            <?php the_excrept(); ?></div><!-- .entry-summary -->

With

<div class="entry-summary">
            <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?></div><!-- .entry-summary -->

Whenever it appeared (Twice, in my case)

Cheers, Will

share|improve this answer
add comment

For some reason, the solutions I found here and on other sites didn't work for me. But I found a very simple solution, you can read about it here.

<div class="entry">
    <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> <?php the_title(); ?></a>
    <?php the_excerpt(); ?><em><a href="<?php the_permalink() ?>" rel="bookmark" title="Link naar volledig artikel"><br/>Lees hier verder...</a></em>
    <p><small><?php the_author(); ?>, <?php the_time('j F Y') ?></small></p>
</div>

I used it on my category.php file, but I'm sure it works exactly the same on archive.php or search.php.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.