/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php if ( 'custom_post_name' != get_post_type() ) { echo '<p>whatever</p>'; } ?>
<?php if ( 'custom_post_name' != get_post_type() ) { echo '<p>whatever</p>'; } ?>