wordpress/wp-content/themes/basic/themify/themify-template-tags.php
/**
     * Returns a CSS-formatted string of categories assigned to current post
     *
     * @return string
     */
Returns a CSS-formatted string of categories assigned to current post
@return string
Returns a CSS - formatted string of categories assigned to current post @return string
function themify_get_categories_as_classes($post_id) {
	$categories = wp_get_post_categories($post_id);
	$class = '';
	foreach ($categories as $cat)
	    $class .= ' cat-' . $cat;
	return $class;
    }
function themify_get_categories_as_classes ( $ post_id ) { $ categories = wp_get_post_categories ( $ post_id ) ; $ class = '' ; foreach ( $ categories as $ cat ) $ class .= ' cat-' . $ cat ; return $ class ; }
Returns a CSS-formatted string of categories assigned to current post
 @return string
Returns a CSS - formatted string of categories assigned to current post @return string