View difference between Paste ID: tm1f9gsC and MVYkqa1q
SHOW: | | - or go back to the newest paste.
1-
`<?php 
1+
2-
    if ( in_category( 'new-events' )) {?>
2+
3
4
//styling for this category
5
  <style type="text/css">
6
	#eventLocation {
7
	    background:url(/wp-content/themes/mytheme/images/myimage2.png) no-repeat left 2px;
8
		}	 
9
  </style>
10
11
<?php } elseif ( in_category( 'new-events' )) {?>
12
//styling for this category
13
  <style type="text/css">
14
	#eventLocation {
15
	    background:url(/wp-content/themes/mytheme/images/myimage1.png) no-repeat left 2px;
16
		}	 
17
  </style>
18
19
<?php } else { ?>      
20
<?php } ?>
21
22
23-
<?php } else { ?>
23+
24
25-
`
25+