• Skip to primary navigation
  • Skip to main content
  • Skip to footer
  • Books
    • Content Strategy for WordPress (2015)
    • WordPress for Web Developers (2013)
    • Beginning WordPress 3 (2010)
  • Blog
    • Content Modeling for WordPress
    • WordPress Hidden Gems
    • Web Design
  • Work
    • MLIS Class Projects (2019-2022)
    • Portfolio (2002-2019)
    • Services
    • WordPress Plugins
    • WordPress Themes
    • Presentations and Interviews
    • on GitHub →

Stephanie Leary

Writer, WordPress consultant, recent MLIS grad

  • About
    • Press Kit
    • Presentations and Interviews
  • Contact Me

Navigation

Call a navigation menu using a shortcode

July 13, 2010 Stephanie Leary 50 Comments

Today I came across a weird situation: I needed to place a navigation menu in the content of a page. A shortcode was the obvious solution, but there doesn't appear to be one built in for menus. I created this one very quickly: Place this in functions.php, then use [menu … [Read more...] about Call a navigation menu using a shortcode

WordPress Navigation, shortcodes

Listing children on empty pages as a filter

June 3, 2010 Stephanie Leary Leave a Comment

Yesterday, I showed you how to automatically list child pages if a page's content is empty. That code would go in your theme's page.php file. What if you wanted to use it in any theme? The best solution is to turn it into a little plugin: Paste the code into a file in your … [Read more...] about Listing children on empty pages as a filter

WordPress Navigation, Posts and Pages

Including external links in WordPress navigation menus

August 11, 2009 Stephanie Leary 2 Comments

Sometimes you need to link to something other than a WordPress page in your navigation menu. Perhaps you've built a photo gallery in ZenPhoto. How do you get it into your menu without hand-coding all your links? The Page Links To plugin allows you to do just that. Install the … [Read more...] about Including external links in WordPress navigation menus

WordPress menus, Navigation, Permalinks

Listing child pages

August 9, 2009 Stephanie Leary 2 Comments

The Codex offers a way to list the children of the current page by adding this to your theme: … [Read more...] about Listing child pages

WordPress Navigation, pages, Posts and Pages, template tags

Ordering pages

August 7, 2009 Stephanie Leary Leave a Comment

Ordering pages in WordPress is a huge pain. The developers acknowledge this with a little message on the Edit Page screen: "We know this is a little janky, it'll be better in future releases." The Quick Edit feature makes it a little easier, but you still have to edit lots of … [Read more...] about Ordering pages

WordPress menus, Navigation, page order

Previous and Next links for pages

July 5, 2009 Stephanie Leary Leave a Comment

Ever want to let your visitors browse your pages in order? You've probably discovered that previous_posts_link and next_posts_link don't work on pages. I've written a plugin, Next Page, to solve the problem. You'll get an options screen allowing you to specify the language of … [Read more...] about Previous and Next links for pages

WordPress Navigation, page order, Permalinks

Footer

My Books

This is an excerpt from Content Strategy for WordPress.My latest books are Content Strategy for WordPress (2015) and WordPress for Web Developers (2013). Sign up to be notified when I have a new book for you.

I’m a front end developer at Equinox OLI, working on open source library software. I was previously a freelance WordPress developer in higher education. You can get in touch here or on LinkedIn.

Copyright © 2023 Stephanie Leary · Contact