TL;DR – you have to use the hierarchical=0 arg to list all pages that contain your meta_key, otherwise you will only get top-level pages.
Tag Archive: get_pages()
Permanent link to this article: http://egeste.net/blog/2010/04/18/wordpress-get-pages-meta-key-woe/
Recent
Tag Cloud
macintosh
osx
mac
iphone
jailbreak
restore
contacts
address book
debian
linux
meta_key
hierarchical
get_pages()
no results
not working
mod_rewrite
Apache
codexCulture
PHP
bash
Apache
Music
Devices
WordPress
Platforms
Android
Administration
Backbone.js
Design Patterns
Uncategorized
Javascript
Abstract
Prototypal
Frameworks
Code
Languages
Featured
Computing
Github Activity
- egeste pushed to optional-header at egeste/backgrid June 17, 2013
- egeste opened pull request wyuenho/backgrid#233 June 17, 2013
- egeste created branch optional-header at egeste/backgrid June 17, 2013
- egeste forked wyuenho/backgrid to egeste/backgrid June 17, 2013
- egeste starred FontCustom/fontcustom June 11, 2013
Visitors
The Githubber’s Downtime Prayer
Our uptime who art in heaven, github be thy name. Thy pingdom come, thy push be done, on remote as it is in local. Give us this day our daily build, and forgive us our breakages, as we forgive those who push broken builds to us. Lead us not into abandonware, but deliver us from bitrot, for thine is the commit, the bisect, and the blame forever, amen.
