Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Articles with multiple authors
I’m trying to add multiple author names to a single article for shared-byline situations. There appears to be no plugins for this, but one response suggested using a custom field. What would be the easiest way to do that, without screwing up the articles that will only have one author?
http://www.patrolmag.com
Offline
Re: Articles with multiple authors
Use if_custom_field. Create a custom field (admin>prefs>advanced) called secondary_author. In your article form (eg. default):
<txp:if_custom_field name="secondary_author">
<txp:custom_field name="secondary_author" /> //prints second author
</txp:if_custom_field>
Offline
Re: Articles with multiple authors
Works perfectly. Thanks a ton.
http://www.patrolmag.com
Offline
Pages: 1