Ticket #4420 (new enhancement)

Opened 1 year ago

Last modified 2 weeks ago

Standardize wp_list_authors like the other wp_list_* functions

Reported by: johannesries Assigned to: anonymous
Priority: lowest Milestone: 2.7
Component: Template Version: 2.3
Severity: normal Keywords: has-patch
Cc: J2000_ca

Description (Last modified by rob1n)

Would be great if <meta name="author" content="<?php bloginfo('authors'); ?>" /> would generate <meta name="author" content="Name 1, Name 2, Name 3" />.

Attachments

author-template.php (5.2 kB) - added by J2000_ca on 12/05/07 19:45:47.

Change History

06/08/07 00:36:51 changed by foolswisdom

  • milestone changed from 2.3 (trunk) to 2.4 (future).

06/08/07 03:14:32 changed by rob1n

Meh, I could see the *uses* but it could be done with wp_list_authors() I'm pretty sure. Not sure though.

06/08/07 04:36:08 changed by rob1n

  • description changed.

06/08/07 19:28:54 changed by Otto42

wp_list_authors() outputs links to the author pages, with no way to turn it off. It also doesn't have any sort of formatting options like "between" to allow you to specify a comma and such. It also only outputs a list, using LI tags.

I agree that wp_list_authors() should be extended to cover this sort of thing, preferably by adding a lot more options:

  • link: 0 or 1, to enable or disable showing the links
  • before, after, between: to put text before,after,between each author

and so forth... Standardize it with all the other wp_list_* functions, basically.

08/14/07 15:49:07 changed by Nazgul

  • summary changed from Add list of authors to get_bloginfo to Standardize wp_list_authors like the other wp_list_* functions.

12/05/07 19:45:47 changed by J2000_ca

  • attachment author-template.php added.

12/05/07 19:56:03 changed by J2000_ca

  • keywords changed from get_bloginfo template tags to get_bloginfo template tags has-patch 2nd-opinion.

I used the patch from ticket 5407 to make this one

12/05/07 20:22:39 changed by J2000_ca

  • cc set to J2000_ca.

12/26/07 02:41:58 changed by thee17

I just tested it and works well for me.

03/12/08 03:13:21 changed by lloydbudd

  • milestone changed from 2.5 to 2.6.

06/21/08 00:36:16 changed by thee17

  • keywords changed from get_bloginfo template tags has-patch 2nd-opinion to has-patch.

06/25/08 02:58:15 changed by thee17

  • milestone changed from 2.6 to 2.7.