WordPress has a function you could use: wp_list_pages().
Hi Marcel,
I was looking trough that.
I was making mistake with trying to do ‘title_li=null’.
‘title_li=’ is working.
thank you for you reply.
-Vlad
Hello,
Sorry I marked it as answered…
I still can’t figure out how to list the pages as equal.
I have 3 pages. one parent and 2 child pages and I need to list them on the side as equal… no indentation no difference in css.
I have ‘<?php wp_list_pages(‘include=16,18,81&title_li=’ ); ?>’ which displays only the pages i want with no title… but how to set it up so the child is displayed at the same level as the parent?
Thank you,
-Vlad
Depth -1 Displays pages at any depth and arranges them in a single, flat list. So in this case using: <?php wp_list_pages('include=16,18,81&title_li=&depth=-1' ); ?>
will do the trick.
Hi,
Awesome. I couldn’t find that anywhere.
Thanks a lot.
-Vlad