is_page not working
-
This page is produced by woocommerce.php:
<?php
/**
* Template Name: Full-width, no sidebar
*/get_header(); ?>
<div id=”wrapper”>
<div id=”content” class=”full-width”>
<?php woocommerce_content(); ?>
<?php if(is_page(2190)) { ?>
<div style=”font-size: 0.75em”>
<p><span style=”text-decoration: underline;”>Buyout JPEG</span>
Our Buyout license permits a perpetual, exclusive, non-transferable worldwide license to use the Stock Media for Permitted Uses. Once purchased, Stock Media will no longer be available for sale in any capacity. $150 (max width/height: 5184 pixels @ 300 ppi)</p>
<p><span style=”text-decoration: underline;”>Supersize JPEG</span>
Our Standard Royalty-free license permits a perpetual, non-exclusive, non-transferable worldwide license to use the Stock Media for Permitted Uses. $75 (max width/height: 5184 pixels @ 300 ppi)</p>
<p><span style=”text-decoration: underline;”>Large JPEG</span>
Our Standard Royalty-free license permits a perpetual, non-exclusive, non-transferable worldwide license to use the Stock Media for Permitted Uses. $55 (max width/height: 3000 pixels @ 300 ppi)</p>
<p><span style=”text-decoration: underline;”>Medium JPEG</span>
Our Standard Royalty-free license permits a perpetual, non-exclusive, non-transferable worldwide license to use the Stock Media for Permitted Uses. $35 (max width/height: 1500 pixels @ 300 ppi)</p>
<p><span style=”text-decoration: underline;”>Small JPEG</span>
Our Standard Royalty-free license permits a perpetual, non-exclusive, non-transferable worldwide license to use the Stock Media for Permitted Uses. $4 (max width/height: 500 pixels @ 300 ppi)</p>
</div>
</div>
<?php } ?><!– END #content –>
<?php get_footer(); ?>However, none of the content in the is_page conditional is displaying.
Can you see why not?
Thanks.
The topic ‘is_page not working’ is closed to new replies.