I am definatly a php code novice, but I have a seemingly simple problem that I can't figure out.
I want a wp_list_pages function to list all of the pages separated by a comma and not have the title show.
Here's the function:
<?php wp_list_pages('title_li='); ?>
I thought I could change it to:
<?php wp_list_pages('title_li=', ', '); ?>
and the comma would be there, no dice.
I also tried:
<?php wp_list_pages('link_after=,&title_li='); ?>
But the comma is part of the link AND after the last page listed since it places the comma just inside the </a> tag.
I'm sure it's a super easy fix, but I can't figure it out. Thanks in advance for anyones help.
Brian
Simple function question from a novice
Moderator: General Moderators
Re: Simple function question from a novice
You might want to try posting the code of your wp_list_pages function so that someone can actually figure out what the problem is.....