Profile
Achievement
cyberhobo's Recent SnippetsTagged page
- All /
« Prev 1 Next »
There's no has\_children() function in WP 2.8.4, but get\_children() returns false if the post/page has no children, so it can serve the same purpose in a page template.
Outside a page template you'd have to add a global declaration for the $post...
2
814
posted 15 years ago by cyberhobo