Title: rareexample's Replies | WordPress.org

---

# rareexample

  [  ](https://wordpress.org/support/users/rareexample/)

 *   [Profile](https://wordpress.org/support/users/rareexample/)
 *   [Topics Started](https://wordpress.org/support/users/rareexample/topics/)
 *   [Replies Created](https://wordpress.org/support/users/rareexample/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/rareexample/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/rareexample/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/rareexample/engagements/)
 *   [Favorites](https://wordpress.org/support/users/rareexample/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
    In 
   reply to: [WP Beta 2.7 View this Post](https://wordpress.org/support/topic/wp-beta-27-view-this-post/)
 *  [rareexample](https://wordpress.org/support/users/rareexample/)
 * (@rareexample)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/wp-beta-27-view-this-post/#post-894245)
 * Same here, missing the view this post button. I used this after every post for
   several blogs and find it quite cumbersome having to navigate the site to see
   the live versions of pages and posts.
 * Anyone know a way to get it in the yellow notification or perhaps a button beside
   preview?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [wp_list_pages and get_post_metadata](https://wordpress.org/support/topic/wp_list_pages-and-get_post_metadata/)
 *  [rareexample](https://wordpress.org/support/users/rareexample/)
 * (@rareexample)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/wp_list_pages-and-get_post_metadata/#post-539278)
 * After hours of fiddling, here’s what I used to finally get this working.
 * This will list subpages with a link to the title and display the custom field
   you specify. In this case, my custom field is task. So you change task to the“
   key” of your custom field
 *     ```
       <?php
        global $wpdb;
        $children = $wpdb->get_results("SELECT * from $wpdb->posts WHERE post_type='page' AND post_parent=$post->ID ORDER BY post_title");
         if($children) {
              foreach($children as $child) {
       	     	 echo '<a href="' . get_permalink($child->ID) . '">' . $child->post_title . '</a><br clear="all">';
       			 echo get_post_meta($child->ID, 'task', TRUE);
   
       	}
         }
        ?>
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)