Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-10-01 00:42:41

robin746
Member
From: Ireland
Registered: 2007-09-22
Posts: 113
Website

problem with excerpt

The FAQ says to do the following for an excerpt with a “read more” link.

<txp:excerpt />
<txp:permlink>read more..</txp:permlink>

However a p tag is wrapping the excerpt, meaning that the read more link is following on a different paragraph. For this particular page I do not want that.

How to get rid of the paragraph that seems to automatically wrap the excerpt?


robin

Offline

#2 2007-10-01 07:33:38

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: problem with excerpt

I think this is not possible by default. You will have to use this plugin.


Prrrrrrrr

Offline

#3 2007-10-01 08:20:48

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: problem with excerpt

On the “Write” tab in the left column you can tell TXP not to textile the excerpt, just leave it alone. You can then add the “p” tags or whatever you want to the form template you are using.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#4 2007-10-01 21:27:39

robin746
Member
From: Ireland
Registered: 2007-09-22
Posts: 113
Website

Re: problem with excerpt

Thanks Stuart… that is what I couldn’t find!


robin

Offline

Board footer

Powered by FluxBB