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=')); ?>
Enter your email below to receive posts direct to your inbox. I promise that I will not share your details and e-mail address with any third party. I will not send you unwanted e-mail.
After two hours of searching on the web for a simple menu that does exactly what you’ve described…Thank you, thank you. I knew it had to be simple, and I don’t need the CSS.
Your email address will not be published. Required fields are marked *
Name *
Email *
Website
Comment
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Notify me of follow up comments via e-mail.
Subscribe.Enter your email:
After two hours of searching on the web for a simple menu that does exactly what you’ve described…Thank you, thank you. I knew it had to be simple, and I don’t need the CSS.