Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Show Authors in Page Lists

Beskrivning

This plugin allows developers to display author names within wp_list_pages-generated page lists.

Installation

After installing and activating, use the parameter showauthors=1 to display an author name beside each permalinked page title the wp_list_pages function generates: e.g., <?php wp_list_pages( 'title_li=&showauthors=1' ); ?>. To disable the parameter for a particular string/list, set showauthors to ”0”: e.g., <?php wp_list_pages( 'title_li=&showauthors=0' ); ?>.

Vanliga frågor

Länkar
  • For feedback and help, visit: http://getsatisfaction.com/studio_hyperset/products/studio_hyperset_wordpress_plugins

  • To learn about other Studio Hyperset WordPress plugins, visit http://studiohyperset.com/#solutions

  • To help develop the Show Authors in Page List plugin, visit https://github.com/studiohyperset/show-authors-in-page-list

Developer Notes

This plugin assumes (a) most developers want to drive traffic to site pages, vs. author pages, and (b) links to author pages will appear on these site pages. As such, the names the plugin generates appear unpermalinked.

Additionally, even with the plugin installed and the showauthors=1 parameter enabled,all lists will be organized per pages rather than per authors. Alphabetically ordering a list by ascending post_title (that is, sort_order=ASC&sort_column=post_title) — the default method — will result in a list like the following, regardless of author name:

  • John Doe, Title A One Here
  • Zach James, Title B Two Here
  • Alan Adams, Title C Three Here
  • &tc.

As demand warrants, future builds may include these additional functionalities.

Interested in helping develop the Advanced Dates plugin? Visit the GitHub repository: https://github.com/studiohyperset/show-authors-in-page-list

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Show Authors in Page Lists” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Ändringslogg

1.0

  • 6/19/11 – Initial release