Add Sub Page Widget to Static Posts page (patch)
-
To get this plugin to work on your static Posts page you will need to change the following lines in subpages.php
– 56: if (is_page() ){
+56: if (is_page() || is_home() ){– 76: $rootPost = $post;
+76: if ( is_home() ) $rootPost=get_page_by_title(get_the_title(get_option(‘page_for_posts’)));
+77: else $rootPost = $post;
- The topic ‘Add Sub Page Widget to Static Posts page (patch)’ is closed to new replies.