wordpress snippets 4

 chack catagory avilable

<?php  if( in_category( array( 'YOUR-CATEGORY'))){ ?>
<!-- Your true condition here -->

<?php } ?>




chake is this is your page





<?php if(is_page('YOUR-PAGE')) { ?>
   //your stuff here
<?php } ?>

No comments:

Post a Comment