1

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.

1

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

  • 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. – Will Richardson Jun 12 '11 at 7:38
0

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

0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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