Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/WP/Display Posts Alphabetically

May 12, 2015

Display Posts Alphabetically

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

Have content delivered to your mail. Subscribe below.

About Me

I'm Ulysses, Cloud Engineer at Cardinal Health based in Columbus. This blog is about Linux and Cloud technology. When off the grid, I enjoy riding the electric skateboard. I've surfed, snowboarded and played the saxophone in the past. I hope you will find this website helpful. It's powered by WordPress and hosted on AWS LightSail.

  • Cloud
  • Linux
  • Git

Copyright © 2012–2021