Tag archive for "navigation"

How to add support for navigation menus to your WordPress theme

2010-06-08

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: <?php function mytheme_addmenus() { register_nav_menus( array( … more

WPMU fast backend switch

2010-06-07

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 … more

WordPress 2.7 and the comment pager

2008-11-04

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: <?php if ( have_comments() ) { ?> … more

Very simple Typo3 navigation

2008-10-08

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: foo = HMENU foo { # I use this because I like to have one root page # that links to … more

Typo3 and the YAML vertical navigation

2008-09-21

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. But it turned out to be easy, you just need … more

DjangoPythonBitcoinTuxDebianHTML5 badgeSaltStackUpset confused bugMoneyHackerUpset confused bugX.OrggitFirefoxWindowMakerBashIs it worth the time?i3 window managerWagtailContainerIrssiNginxSilenceUse a maskWorldInternet securityPianoFontGnuPGThunderbirdJenkinshome-assistant-logo