Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
<txp:excerpt /> wraptag
The tag txp:excerpt has no attributes yet. Is it possible to discard the surrounding <p> or change it to another wraptag some way? (I wanted to span both <txp:posted />, <txp:article_id /> and also <txp:excerpt /> in a single <dd>).
Offline
#2 2017-10-30 19:24:44
- milosevic
- Member

- From: Madrid, Spain
- Registered: 2005-09-19
- Posts: 390
Re: <txp:excerpt /> wraptag
You can wrap it with the plugin smd_wrap to remove the <p>.
You also can set “leave text untouched” for excerpt on the writing page for an article or as a general preference on settings.
Last edited by milosevic (2017-10-30 19:25:01)
<txp:rocks/>
Offline
Re: <txp:excerpt /> wraptag
Understood, thank you very much.
Offline
Re: <txp:excerpt /> wraptag
Found one more workaround: write leaving at least one space (at the beginning of the first line :)
Offline
Pages: 1