function psu_news_area_logic() { if (is_akademiliv_category_page() || is_single() || is_akademiliv_default()) { genesis_widget_area('news-area', array('before' => '<div class="news-area widget-area">', 'after' => '</div>')); } }
function psu_singlepage_customization() { if (is_akademiliv_default() || is_single()) { //* Extra wrapper around category page loop add_action('genesis_before_loop', 'psu_loop_wrapper_single_open'); add_action('genesis_after_loop', 'psu_loop_wrapper_close'); //* Customize the entry meta in the entry footer add_filter('genesis_post_meta', 'psu_post_meta_filter'); //* Remove the entry header markup and entry title remove_action('genesis_entry_header', 'genesis_entry_header_markup_open', 5); remove_action('genesis_entry_header', 'genesis_entry_header_markup_close', 15); remove_action('genesis_entry_header', 'genesis_do_post_title'); remove_action('genesis_entry_header', 'genesis_post_info', 12); //* Add the entry header markup and entry title togheter with featured image and post info add_action('genesis_entry_header', 'psu_single_add_entry_header'); } }