core/page-list


Display a list of all pages.

Parent selected that has no child posts:

nothing, no HTML generated

Regular list:

<ul class="wp-block-page-list"><li class="wp-block-pages-list__item"><a class="wp-block-pages-list__item__link" href="https://blocks.joedolson.com/goals/">Goals</a></li><li class="wp-block-pages-list__item"><a class="wp-block-pages-list__item__link" href="https://blocks.joedolson.com/current-progress/">Instructions</a></li></ul>

Block settings adjusted with Gutenberg editor (anchor, css class name, typography):

<ul style="font-style:normal;font-weight:600;text-transform:lowercase;letter-spacing:10px;" class="class-test-1 wp-block-page-list has-large-font-size" id="anchor-test-1"><li class="wp-block-pages-list__item"><a class="wp-block-pages-list__item__link" href="https://blocks.joedolson.com/goals/">Goals</a></li><li class="wp-block-pages-list__item"><a class="wp-block-pages-list__item__link" href="https://blocks.joedolson.com/current-progress/">Instructions</a></li></ul>

Leave a Reply