post_type; // sticky for Sticky Posts if ( is_sticky($post->ID) && is_home()) $classes[] = 'sticky'; // hentry for hAtom compliace $classes[] = 'hentry'; // Categories foreach ( (array) get_the_category($post->ID) as $cat ) { if ( empty($cat->slug ) ) continue; $classes[] = 'category-' . $cat->slug; } // Tags foreach ( (array) get_the_tags($post->ID) as $tag ) { if ( empty($tag->slug ) ) continue; $classes[] = 'tag-' . $tag->slug; } if ( !empty($class) ) { if ( !is_array( $class ) ) $class = preg_split('#\s+#', $class); $classes = array_merge($classes, $class); } return apply_filters('post_class', $classes, $class, $post_id); } //a function to get basic functionality for a wp_page_menu function function wp_page_menu() { global $wp_theme_options; $include = $wp_theme_options['include_pages']; $include_pages = implode(',',(array)$include ); $menu = ''; $menu = apply_filters('wp_page_menu',$menu); echo $menu; } function is_sticky() { return FALSE; } ?>