John Joe

John Joe

  • NA
  • 81
  • 16.3k

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

May 16 2013 4:22 AM
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?