Conditional Tags for WP E-Commerce

The following conditional works when you install WP E-Commerce and you want to add PHP code in page.php .I want to breadcrumbs in pages but doesn’t want it to display on WP E-Commerce Product page, because the product already showing its own breadcrumbs

The following conditional tag apple to non-Product Page:

<?php if ('wpsc-product' != get_post_type())  { ?>
         do stuff
<?php }?>

The following conditional tags apply to Product Page:

<?php if ('wpsc-product' != get_post_type())  { ?>
         do stuff
<?php }?>

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: