Display List of Page or Child Page

A. Display an index / complete list of posts with block editor:
– Block: Page List
> The Page List block allows you to display your website's published pages in a page, post, and sidebar.
> https://wordpress.org/documentation/article/page-list-block/

B. Display a List of Child Pages For a Parent Page in WordPress

Source: https://www.wpbeginner.com/wp-tutorials/how-to-display-a-list-of-child-pages-for-a-parent-page-in-wordpress/

Method 1. Display Child Pages on Parent Page using a Plugin
– Page-list plugin
– replace  # with [
#pagelist child_of="current"]

※ Problem in quotation mark (QM),
– also happened here: https://tech.narpen.org/wordpress/problem-log/problem-when-using-wp-showhide/
– root cause: texturize in MS Word & WordPress: https://www.kadencewp.com/blog/apostrophes-and-quotation-marks/
– how to resolve: by using wpuntexturize plugin
how to check QM unicode : Unicode Character Search (FileFormat.info)
the right QM: U+0022: Quotation Mark (neutral)
the wrong QM: U+201D: Right Double Quotation Mark
wrong shortcode (previously):
– replace  # with [
#pagelist child_of=”current”]

Method 2. List Child Pages for a Parent Page using Code
– WPCode plugin
– functions.php
– add_shortcode('wpb_childpages', 'wpb_list_child_pages');

Method 3. Dynamically Display Child Pages Without Any Shortcode
page.php