• Resolved xxhunterxx

    (@xxhunterxx)


    hi
    im using this code in single.php but it doesnt seems to work

    <?php
    if (is_category(9) ) {
    echo 'text';
    } else {
    echo 'texttext';
    }
    ?>

    tnx

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to show something in single.php only if is cat’ is closed to new replies.