• I want to know how I can show any message on all the single posts except one.

    For example:
    The Message is “XXX XXXXX XXXX XX” and it is hyper linked and I want show it on all posts except one, say xxx.com/my-post/

    Any Idea would be great. I read the Conditional Tags Page on WordPress but wasn’t able to find any help there. So please help me by giving proper coding.

Viewing 1 replies (of 1 total)
  • How about:

    <?php
    if(have_posts()) : while(have_posts()) : the_post(); // start of the main loop?>
    if(get_the_title() == 'My Post') continue;
    // carry on with standard loop stuff
    ?>
Viewing 1 replies (of 1 total)
  • The topic ‘How not show a message on a specific Single Post – Related to Conditional Tags’ is closed to new replies.