Created
April 11, 2017 10:51
-
-
Save ScarletPonytail/c920f7456794d4f4903fa370e5ddcc16 to your computer and use it in GitHub Desktop.
WordPress - If Parent page and Child of parent page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
elseif ( is_page( '59' ) || '59' == $post->post_parent ) { // About | |
$post = get_post(); | |
get_template_part( 'carousel-about' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment