Title: hch's Replies | WordPress.org

---

# hch

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to link directly to first subpage of a parent page](https://wordpress.org/support/topic/how-to-link-directly-to-first-subpage-of-a-parent-page/)
 *  [hch](https://wordpress.org/support/users/hch/)
 * (@hch)
 * [17 years ago](https://wordpress.org/support/topic/how-to-link-directly-to-first-subpage-of-a-parent-page/#post-916720)
 * Thanks a lot!
 * I simply rounded the follwing out:
    `if (empty($parent->post_content) and $first_child)`
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to link directly to first subpage of a parent page](https://wordpress.org/support/topic/how-to-link-directly-to-first-subpage-of-a-parent-page/)
 *  [hch](https://wordpress.org/support/users/hch/)
 * (@hch)
 * [17 years ago](https://wordpress.org/support/topic/how-to-link-directly-to-first-subpage-of-a-parent-page/#post-916716)
 * I am also searching for a solution to the problem described above (like: “if 
   parent page is empty show next/first child of it”). Btw – this is not about ‘
   wp_list_pages’.
 * How can I do that with(out) hardcoding?
 * Thanks in advance!

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