Quantcast
Channel: CSharp Forum Latest Questions
Viewing all articles
Browse latest Browse all 32058

geting page id and class at the same time to display a DIV

$
0
0
I would like to get page id and page class to display a div on that specific page:


for example:  Body# Great .Betst   id=great    class=best

Div id="first-Div"

LOGIC 

<?php    if page id ="great" and class="bets"   {?>

Display  First-Div

<?php{?>



How do I do this?

Viewing all articles
Browse latest Browse all 32058

Trending Articles