Posted By

LuckyShot on 01/15/10


Tagged

page child Parent


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

maxvee8


Wordpress - Check if child page belongs to parent page


 / Published in: PHP
 

  1. if ($post->post_parent <> '16') {
  2. }

Report this snippet  

You need to login to post a comment.