Avoid variables, create strings: they will return the favor

WordPress allow you to personnalize the context in many ways by displaying the current tag or category, as the tag or category description, for example. But, when it comes to add strings from nowhere, like a heading section which isn’t a tag, author, category or whatever already build within WordPress, you find yourself left high and dry. Continue reading

wp_nav_menu() — Custom menus since WordPress 3.0

wp_nav_menu() displays a navigation menu created in the Appearance → Menus panel. This function allow the final users to add or remove links within menus without putting their hands in the code. Basics is build with four navigation menus: the first is located at the top left of the page, but it isn’t activated by default (you may not need it). The second display the main menu below the Slogan. The third and the fourth can be used as the first one, within the optional Widget Areas.

Continue reading