• Resolved VladimirPanek

    (@vladimirpanek-1)


    Hi,

    I would like to make a list of my pages, but display them without indentation. I need them to look like there is no difference between child and parent pages.
    I was looking all over and I can’t find anything…

    Thank you
    -Vlad

Viewing 5 replies - 1 through 5 (of 5 total)
  • WordPress has a function you could use: wp_list_pages().

    Thread Starter VladimirPanek

    (@vladimirpanek-1)

    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

    Thread Starter VladimirPanek

    (@vladimirpanek-1)

    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.

    Thread Starter VladimirPanek

    (@vladimirpanek-1)

    Hi,

    Awesome. I couldn’t find that anywhere.

    Thanks a lot.
    -Vlad

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to make list of all pages (child and parent) and display them without indent’ is closed to new replies.