If you don't want to list child pages on all your empty pages using a [link id="2865"]page template[/link] or a [link id="5246"]filter[/link], you can create a simple shortcode: Then place [[children]] in your page content where you want the list to appear. … [Read more...] about Listing child pages with a shortcode
WordPress
Another book giveaway; OpenCamp Dallas talk
Jeff will be giving away two copies of Beginning WordPress 3 during the 100th episode of WordPress Weekly. Mind you, the book hasn't been printed yet, so he'll collect your mailing info and I'll send them out as soon as my copies arrive, sometime around June 15. I'm speaking at … [Read more...] about Another book giveaway; OpenCamp Dallas talk
Adding pages to all the WordPress submenus
Most WordPress plugin tutorials tell you to add your option pages to the Settings submenu, and that's that. Did you know that add_options_page() isn't your only choice? Here are the functions to add pages to all the major submenus: The page_title is the text that will appear as … [Read more...] about Adding pages to all the WordPress submenus
Listing children on empty pages as a filter
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
New plugin: Content Audit
If you've read Kristina Halvorson's article on A List Apart or her book, Content Strategy for the Web, you know how important it is to audit your content once you've published it. For years, I've used Jeff Veen's content inventory spreadsheet, but copying all those titles and … [Read more...] about New plugin: Content Audit
Automatically list children on empty pages
Here's a little snippet I use in my theme's page templates. It figures out whether a page's content is empty, and if it is, a list of all its child pages is printed where the content would usually go. To use this, find the_content() in your page.php file and replace it with that … [Read more...] about Automatically list children on empty pages
Get a review copy of Beginning WordPress 3 on Goodreads or LibraryThing
I'm giving away copies of Beginning WordPress 3 on Goodreads and LibraryThing. You can sign up until June 14. Both giveaway programs choose the recipients at random. The winners will receive copies from my author's stash as soon as I get them. Good luck! … [Read more...] about Get a review copy of Beginning WordPress 3 on Goodreads or LibraryThing
Going to WordCamp Fayetteville
Thanks to a last-minute change of plans, I'll be at WordCamp Fayetteville this weekend! I'm excited — it'll be my first WordCamp, and I'll get to hang out with several friends from the midwest HighEdWeb crowd. I'm looking forward to spending a little time in Arkansas before … [Read more...] about Going to WordCamp Fayetteville
Where you can hear me speak about WordPress
Tomorrow, I'm speaking at the CASE District IV conference in Austin. I'm on at 3:30, talking about how I use WordPress as a complete CMS to manage several university offices' sites. This is a shorter, updated version of my half-day workshop last fall at HighEdWeb. This Wednesday … [Read more...] about Where you can hear me speak about WordPress
Creating roles
Sometimes, rather than adding capabilities to an existing role, you need to create a whole new role. The code to do so is relatively easy. Again, place these lines in your theme's functions.php file: … [Read more...] about Creating roles