The task to display a list under the pages and under the pages :)
If there are no problems with under the pages, then with others there is a small problem.
There is a function
function devise_list_child_pages() { global $post; if ( is_page() && $post->post_parent ) $childpages = wp_list_pages( 'sort_column=menu_order&title_li=&child_of=' . $post->post_parent . '&echo=0' ); else $childpages = wp_list_pages( 'sort_column=menu_order&title_li=&child_of=' . $post->ID . '&echo=0' ); if ( $childpages ) { $string = '<ul>' . $childpages . '</ul>'; } return $string; } It outputs like this
Под страница под под страница под под страница Под страница под под страница под под страница Everything is good, but if you follow the link "under the page", then only one link will be displayed.
After clicking on the “Passing Furnace” displays only her 
How to make the first version appear permanently?
