views:

23

answers:

2

i've tried a number of variations and i know this works when i put in is_home even though thats not what i'm trying to achieve but it display it on every page.... if i try anything else like is_front_page or like wha ti have in the example below which is what i'm actually trying to achieve then it doesn't (work!). can anyone help please?

<?php if (is_page('about')) { ?>
    <div id="testimonial-block" class="sidebar-block clearfix">
    <h4>Testomonials</h4>
    <p>"I feel so much more motivated and in control of my life. The coaching has given me the time to think about what I really wanted to achieve and how I can make it happen. I have been completely blown away by how much I have enjoyed coaching with Becky and embraced the concept across my whole life."<br />
    <small>Caroline Rowe, <br />
    Communications Manager</small></p>
    </div>
    <?php } ?>
A: 

the code looks fine.

the is_page() function does a case-sensitive string comparison ( i believe).

Check for the letter casing.. and see if it works.

kenzaraque
A: 

fixed it! it put this in<?php wp_reset_query(); ?>

Amesey