At long last, Content Strategy for WordPress is available everywhere! This is a relatively short book—less than half as long as WordPress for Web Developers was—and it’s aimed at a more general audience. Paradoxically, I’ve been working on it twice as long as on either of the … [Read more...] about New book! Content Strategy for WordPress is now available
shortcodes
Call a navigation menu using a shortcode
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
Listing child pages with a shortcode
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
using shortcodes everywhere
Read this in Spanish | Leer esta en Español Read this in Turkish | Türkçe bunu okuyun At the moment, shortcodes in WordPress are processed only in post/page content. You can use them in lots of other places, though, if you enable them for each field you want. Here's how to use … [Read more...] about using shortcodes everywhere