Detecting number of Authors
-
In the plugin, there is a stock standard function exists check for swapping out the list author link for the plugin variant.
What I ma wanting to know is if there is a way to query the number of authors.
eg. If more that one author, use Authors: else if there is only one, use Author:As it stands, the function is present when the plugin is active so it will always use the plugin version to display the authors links whether there is one or more.
What I am wanting to know is how do you say ‘if the function exists and if it shows that there is more than one author for that post’ or if the number of authors is greater than one.
Any insight would be great.
Cheers
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Detecting number of Authors’ is closed to new replies.