Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Is it possible to give an excerpt a specific title?
The subject tells it all. It would be very nice if it could … :)
Offline
Re: Is it possible to give an excerpt a specific title?
Can’t this be done with a custom field?
Offline
Re: Is it possible to give an excerpt a specific title?
As Phil mentioned, you probably should use a custom field for that.
You can easily position that custom field above the excerpt in the write panel by using the great bot_write_tab_customize plugin.
Offline
Re: Is it possible to give an excerpt a specific title?
Thanks all … I will look into the ‘custom fields’. I try to avoid them, because clients find them more or less intimidating. So my experience is of a non-geek level. I will post if I succeed in doing a good job … :)
PS
And I’ll post if I fail … :(
Last edited by RedFox (2013-02-19 12:22:24)
Offline
Re: Is it possible to give an excerpt a specific title?
I’m up a level … :))
With a custom field, bot_write_tab_customize and this form >
<article role="article" itemscope itemtype="http://schema.org/Article">
<txp:if_custom_field>
<h1 itemprop="name"><txp:custom_field name="test" /></h1>
<txp:else />
<h1 itemprop="name"><txp:title /></h1>
</txp:if_custom_field>
<div itemprop="articleBody">
<txp:excerpt />
<p class="more">Lees verder > <a href="<txp:permlink />"><txp:title /></a></p>
</div>
</article>
… it made my day!
Last edited by RedFox (2013-02-19 12:33:45)
Offline