How to: Insert special characters between menus items

March 11, 2009 at 10:46 am

The wp_list_pages fnction is very useful, but sometimes it can be a bit frustrating, for exemple when you want to insert characters as such as “//” between menu items. Happilly, here is the solution to this problem.

To apply this hack, simply paste the following code where you want your menu to be displayed.

$char = ' \\ '; 

Found on WordPress Codex.

By the way if you’re a WordPress blogger interrested in finance and investment, you should definitely read this post I wrote yesterday on cats Who Code.