I’m trying to create a custom navigation for my pages. I know there is a wp_list function but that seems to generate a list with HTML list tags.
How can I get WordPress to return links of all teh pages (or a selection of the pages) present in WP in one line separated by spaces?
i.e. if I have the pages PAGE1 PAGE2 and PAGE3;
how can I make it return: “PAGE1 PAGE2 PAGE3”
- The topic ‘Listing Pages In Custom Navigation without “List”s?’ is closed to new replies.