Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2017-10-30 18:32:51

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 308
Website GitHub GitLab Twitter

<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

#3 2017-10-30 20:07:26

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 308
Website GitHub GitLab Twitter

Re: <txp:excerpt /> wraptag

Understood, thank you very much.

Offline

#4 2017-10-30 21:41:24

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 308
Website GitHub GitLab Twitter

Re: <txp:excerpt /> wraptag

Found one more workaround: write leaving at least one space (at the beginning of the first line :)

Offline

Board footer

Powered by FluxBB