Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Garebooo on "Using $var in condition tags."

$
0
0

Hello,

I am trying to use $var with the condition tags. I have added this code in my theme function file :

is_home(); {
$titles = 'page title';
$description = 'page description';
               }

it's worked fine but, when I repeat the code using is_category, is_single, is_tags ... etc. the $var like ( $titles ) still get the value of is_home. Could anyone please help me to fix this issue.

Thanks in advance,
Mansour


Viewing all articles
Browse latest Browse all 8245

Trending Articles