Title: cardinal55's Replies | WordPress.org

---

# cardinal55

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Howto dynamically change content based on the page hierarchy](https://wordpress.org/support/topic/howto-dynamically-change-content-based-on-the-page-hierarchy/)
 *  Thread Starter [cardinal55](https://wordpress.org/support/users/cardinal55/)
 * (@cardinal55)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/howto-dynamically-change-content-based-on-the-page-hierarchy/#post-2413662)
 * in fact the perfect solution is here (if it works when I test it):
 * [link](http://css-tricks.com/snippets/wordpress/if-page-is-parent-or-child/)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Howto dynamically change content based on the page hierarchy](https://wordpress.org/support/topic/howto-dynamically-change-content-based-on-the-page-hierarchy/)
 *  Thread Starter [cardinal55](https://wordpress.org/support/users/cardinal55/)
 * (@cardinal55)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/howto-dynamically-change-content-based-on-the-page-hierarchy/#post-2413661)
 * Thanks,
 * That will work fine – think it was late in th eday!
 * Geoff.

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