php help please
-
There is a mistake in the 5th line (array), can someone correct it for me please? Could be others but that’s the feed back I’m getting.
function kish_picture_page_no_sidebar() { global $post; $cats=get_the_category($post->ID); foreach($cats as $cat) { if( $cat_name(array("Birds", "Gardens", "Technology")) ) { {?> <style> #sidebars { display: none; border: none; } #container {width:940px} #content {width:100%; background} #content_box { background:none; } #content_box img{max-width:850px;height:auto;} </style> <?php } } } } add_filter('thesis_hook_before_html', 'kish_picture_page_no_sidebar');
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘php help please’ is closed to new replies.