• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

Display Posts Alphabetically

May 12, 2015

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 This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023