By Jeffro on September 15, 2009
The folks over at WPBeginner.com have put together a comprehensive list of the best 404 page designs they have come across from sites using WordPress. This showcase is good for inspiration for your own 404 page, a page which I usually neglect when it comes to WordPress themes. As long as the error shows up, I don’t go much beyond that point. Funny as it sounds, I tend to favor humorous 404 page designs instead of helpful ones. One other good bit of information is the list of tips that WPBeginner provides in order to add helpful information to the 404 page template within your WordPress theme.
What’s the best 404.php template you’ve seen come with a WordPress theme without modification?
Posted in News | Tagged 404, designs, error, pages, wordpress |
By Jeffro on July 13, 2009
Jeff Starr who is one of the co-authors for the book Digging Into WordPress has published a great article that goes in depth on various ways on how to display WordPress pages.
The first, most-commonly used tag is wp_list_pages(), and the second, lesser-known tag is wp_page_menu(). First we’ll explore the highly flexible wp_list_pages() template tag, and then we’ll dig into the new wp_page_menu() tag. Along the way, we’ll check out some delicious recipes, tips and tricks for creating the perfect WordPress Page Menu.
On the topic of pages, we’ve had two interesting threads popup in the forum. This one which deals with wp_page_menu and this one which asks the question what the constraints are for WordPress pages.
Posted in WordPress | Tagged listings, menus, pages, recipes |
By Jeffro on May 20, 2009
John Pratt over on WPHacks.com has published a great guest post explaining the ins and outs of WordPress Theme Template Pages. These pages are what make up a WordPress theme. Although most theme designers end up doing things their own way, it’s a good idea to figure out the basic flow of a theme in case you want to make one yourself or add template pages to your current theme.
Every time a WordPress page is called the WP ‘engine’, if you will, determines (through process of elimination) what kind of page it is. It’s kind of like a “where am I?” function. WordPress says “what page am I…” and in turn tries to call pages in a specific order. If WP doesn’t find the PHP file it needs it just defaults to the “index.php” file and uses it instead.
If you’re an aspiring theme author, definitely give this post a read, print it off actually and use it as a reference.
Posted in Themes | Tagged hacks, pages, templates, Themes
By Jeffro on January 24, 2009
Community member Itsananderson recently published a link on the forum to a blog post he wrote explaining how to use Pages in WordPress to allow end users the ability to edit their 404 template page with the Page editor instead of manually editing a 404.php template file. Like Anderson’s post title, this enables even your Grandma to manage 404 error pages within WordPress.
I have yet to come across a theme which uses this method to edit template files although I wonder how useful it would be for template files outside of the 404 page? Have you seen private pages used in this way before?
Posted in WordPress | Tagged 404, pages, private, templates |