|
Testing for Multiple Authors
D E S C R I P T I O N: |
|
|
By default <dpAuthor> and <dpAuthorID> will always return all authors if there are multiple author. For example:
<dpAuthor> Robert Crumb and Neil Gaiman. If you want to have a special layout for single authors and another layout for multiple authors, you can test the author count in a condition to achieve this.
<dpIf <dpAuthor return="count"> = 1>
See also: <dpIf>
The following is an example of how you might link to individual author archive pages:
<dpIf <dpAuthor return="count"> = 1>
|
| Home:
Support:
Reference Guide:
|
Questions? Comments? Please write support@desert.net. |