PDA

View Full Version : Using an excerpt...


davemcnally
04-26-2008, 03:15 PM
Another question!

I can see from my current feed that full posts are not shown within my reader and are cut off at the point of which I used the "more" tag if I used it. My question is - How do I use excerpts within the blog but have the full content displayed within a feed reader? I know this is possible as Adii (.co.za) uses a technique like this, 'continue reading' links are provided on his blog yet full articles show in my reader which makes me presume he is not using the "more" tag?

Thanks for any help :D

BPartch
04-26-2008, 05:46 PM
Hello

To use the excerpt on archive (or whatever pages) you can use <?php the_excerpt() ?> tag in place of the <?php the_content() ?> tag.

Then for your feeds under settings > reading you can choose to display full text or a summary.

Template Tags/the excerpt WordPress Codex (http://codex.wordpress.org/Template_Tags/the_excerpt)

Hope it helps. :)

davemcnally
04-26-2008, 05:51 PM
Hello

To use the excerpt on archive (or whatever pages) you can use <?php the_excerpt() ?> tag in place of the <?php the_content() ?> tag.

Then for your feeds under settings > reading you can choose to display full text or a summary.

Template Tags/the excerpt WordPress Codex (http://codex.wordpress.org/Template_Tags/the_excerpt)

Hope it helps. :)

Thanks, it was the feed settings I was missing out. So am I correct in guessing that changing my blog to show excerpts will still provide a button/link to continue reading? I noticed on the codex page that it says it is not a read more link...


*EDIT
It appears that within Wordpress 2.5.x, using the <!--more--> feature no longer cuts off articles anyway. Or at least thats the way it's working at the moment with my local install ( I subscribed to it ;) ). Can anyone confirm/correct this?