• I’m pulling a list of child pages to one of my static pages using:

      <?php wp_list_pages('title_li='); ?>

    That spits out the information in unordered list just like how it is on the sidebar though. I was wondering if it’s possible to do the same, only instead of having li tags wrapped around my page links, simply have a comma or something to separate the page names? Thanks for your time.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You may have to manually query. I’ll give everyone else a chance to come up with a better solution though before I go and code up a manual query.

    I use a “custom functions” ‘plug-in’ where I add my little overly-retentive-inspired code bits. I just copied the wp_list_pages function, renamed it and then made it do what I’d like. Like most things I do, I doubt it’s the easiest way, but it works for me!

    Cheers,
    Michael.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘List child pages without ul list?’ is closed to new replies.