View Single Post
Old 04-18-2007, 05:49 PM  
clickhappy
Confirmed User
 
Industry Role:
Join Date: Mar 2004
Posts: 4,027
Quote:
Originally Posted by k0nr4d View Post
Im not sure how wordpress passes in its categories but you could put something along the lines of this in your template
Code:
<?
$category = $_GET[category]; //not sure about this part, might need to explode(); the url and use the last value in the array, as i said i dont know how this is put together in wordpress exactly. 
if($category == 'anal') { echo "html code for anal banner"; } 
elseif($category == 'ebony') { echo "html code for ebony"; } 
else { echo "no matches, generic banner html"; }
?>
Aweosme, im going to try that

Thank you!
clickhappy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote