Trying to exclude a piece of code from running on certain pages. I would like to do something like the following, but this syntax isn’t correct.
<?php
if (!is_page('Blog') || $post->post_parent=="19")) {
<?php breadcrumbs(); ?>
} else {}
?>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First error is – PHP tag was not closed.
And second is – there should be opening of PHP tag before else condition.
try this