Pete Winter
asked on
wordpress - is parent page
How do I change the below code to say...
if parent page is ...
instead of if page is ...
<?php if (is_page(array('my-knowled ge' ,'clients', 'skills'))) { ?>
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php } else { ?>
if parent page is ...
instead of if page is ...
<?php if (is_page(array('my-knowled
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php } else { ?>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
semi-colon after the first line
ASKER
many thanks