Display Always All Subpages in Sidebar

We hope you had a great start in 2010 and some relaxing holidays the last couple days. Our first post in 2010 is about displaying subpages in a sidebar. Anyone who uses WordPress for company websites, has mostly to do with static pages that are in an hierarchical tree. To access these pages for the user, there are many possibilities.

In this article I want to show an example in which are the main pages in a horizontal navigation. The related sub-pages are displayed in the sidebar when you click on the main page.

Continue reading …

About WordPress Post Thumbnail

This is a complement to our previous post The Ultimative Guide For the_post_thumbnail In WordPress 2.9. In WordPress Version 2.9 probably the most discussed feature is the post thumbnail. Important for this function, it is only working when it is explicitly enabled in the theme. This can be done with the following little snippet in the functions.php of the theme: add_theme_support('post-thumbnails');.

But even with this feature you should check for the existence of the function and offer an alternative. Only then you can leave the user the freedom to choose which WordPress version he wants to use. The functions of extensions, plugins and themes should be checked for their existence, then the functionality of the theme is secured, even if a function is not available. Similarly should it be handled with post thumbnail.

I would like to show two suggestions for alternatives below, and I refer to the detailed article about the topic images in Easier And Better Solutions To Get Pictures On Your Posts.

Continue reading …