Showing posts with label horizontal menu. Show all posts
Showing posts with label horizontal menu. Show all posts

Thursday, May 14, 2009

Create horizontal categories menu in WordPress without CSS

To create a horizontal categories menu separated by ' | ' in WordPress, use this code.
<?php
echo str_replace('<br />',' | ',
wp_list_categories('style=&echo=0&title_li='));
?>