WordPress Wednesdays: Little WordPress Gems

Every once and awhile while looking through the WordPress documentation, I find little gems. Here are a few that I found particularly interesting:

  • wp_page_menu Easily create a menu with the home page appended onto the menu with a lot of parameters. Similar to the standard wp_list_pages, but with some different possibilities
  • the_search_query I have seen several ways to get this, but this is by far the easiest, quickest, and most secure.
  • wp_reset_query If you use conditional tags, you will end up going crazy at some point and then will realize this is needed. Note to self everyone.

About the Author...

Jennifer Zelazny

My name is Jennifer Zelazny and this site is a collection of my random thoughts and opinions. I am Penn Stater, WordPress developer, and a modern day explorer. I love exploring data, trends, and things that make the world a better place and sharing them here.

Leave a Reply

Your email address will not be published.
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
*
*

This site uses Akismet to reduce spam. Learn how your comment data is processed.