EllisJordanBojar
Member
Posted 6 years ago #
I'm looking for a way to get wp_list_pages to return page names with a delimiting character, such as putting a bullet or dash between each page name. My PHP is weak, and my current theme simply outputs the page names like so:
<?php wp_list_pages('title_li='); ?>
What do I need to add to get the list formatted when displayed?
rudolf45
Member
Posted 6 years ago #
Nothing. Just use the stylesheet to "format" it as you want.
EllisJordanBojar
Member
Posted 6 years ago #
The PHP returns a string made up of a series of links. The goal is to insert a dash or bullet between each of the links.
So what I get is "About Contact Home" when what I'd like is "About - Contact - Home".
I'm not familiar with a technique that uses CSS to insert text. Any chance you could explain? I'd love to handle it in CSS alone.
rudolf45
Member
Posted 6 years ago #