How to add support for navigation menus to your WordPress theme

Tagged WordPress

The new navigation menus system in WordPress 3.0 looks promising, but in my opinion it’s not very usable yet. Anyway, here’s one way to add navigation menus to your theme while maintaining backward compatibility:

In your theme’s functions.php add something like the following code: (more…)

WPMU fast backend switch

Tagged WordPress plugin

I recently converted several simple WordPress installs into a single WPMU install. As I use all of the blogs myself I wanted a quick way to switch between the various backends. This is probably only useful if you don’t have too many blogs and use all of them yourself. The switch links will be added to your super admin menu. (more…)

WordPress 2.7 and the comment pager

Tagged WordPress

Comment paging is a great new feature in WordPress 2.7. However, how do you not display the pager when there are no previous or next comments? After digging through the code for quite a while and chatting with some people here’s a solution: (more…)

Very simple Typo3 navigation

Tagged Typo3

Sometimes I get asked how to build a menu in Typo3. It’s really easy, but TSref isn’t very verbose. So here’s how to build a basic, valid Typo3 navigation: (more…)

Typo3 and the YAML vertical navigation

Tagged Typo3

Using the YAML CSS framework to build TYPO3 templates is relatively easy if you have some experience with TYPO3. The only thing that wasn’t obvious to me was how to integrate one of their navigation components, the vertical list navigation. (more…)