If Condition not working ?
-
Hello,
I’m trying to put an IF condition on a widget
if single post is ‘this’, then dispay this text.I tried this but it doesn’t work, do you know why ?
if ( is_single( ‘dialyse-mayotte’ ) ) {
echo ‘test’; // conditional content/code
}
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘If Condition not working ?’ is closed to new replies.