WordPress is child to selected page

This snippet of code is very useful when creating sub navigation in WordPress. It allows you to check if a page is a child of a specific page.

Continue Reading →