• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Contact
  • Archives
  • Search

Display Posts Alphabetically

May 12, 2015 by Ulysses

Here’s a snippet of code to display all WordPress posts alphabetically. Typically, you would list archives using the date they were posted, but there might be a need to list the posts alphabetically. You would normally place this code in your Archives Template page.

<!--?php wp_get_archives('type=alpha'); ?-->

<!--?php wp_get_archives('type=alpha'); ?-->

Filed Under: WP

Search The Website

Subscribe Via Email

Copyright © 2022