title_li and ampersand
-
Does anyone know how I can get the title_li argument in wp_list_pages to return an ampersand?
wp_list_pages ('title_li=<h3>'._('prices and places').'</h3>&child_of='.$post->ID);
works but
wp_list_pages ('title_li=<h3>'._('prices & places').'</h3>&child_of='.$post->ID);
breaks. I’ve tried replacing the ‘&’ with ‘&:’ and ‘&’ but no joy.
Does anyone know what I’m doing wrong?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘title_li and ampersand’ is closed to new replies.