• i wrote a text code inm page.php it shows on every page which i wanted but i dont want it to show on one page the code im working with is

    <?php if( !is_single('Beef Stew') ) : ?>
    ~ your ad code goes here ~
    <?php endif; ?>

    which looks like this

    <?php if( !is_single(‘Home|Artist’) ) : ?>
    <p style=”text-align: center;”><span style=”color: #ff0000;”>NOTICE: VIDEOS MAY TAKE ABOUT A MINUTE TO LOAD</span></p>
    <?php endif; ?>

    once again im tryin to get rid of the text on one page only.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘how to remove text code on single page’ is closed to new replies.