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_category_customization() { if (is_akademiliv_category_page()) { //* Add genesis taxonomy title and description to category pages add_action('genesis_before_loop', 'psu_do_taxonomy_title_description', 15); //* Extra wrapper around category page loop add_action('genesis_before_loop', 'psu_loop_wrapper_open'); add_action('genesis_after_loop', 'psu_loop_wrapper_close'); // * Remove Links from Post Titles and set heading to H2 in Genesis add_filter('genesis_post_title_output', 'psu_custom_post_title'); //* Filter/remove post meta info add_filter('genesis_post_info', 'psu_category_info_filter'); //* Remove featured image remove_action('genesis_entry_content', 'genesis_do_post_image', 8); //* Remove Read more link add_filter('get_the_content_more_link', 'psu_child_read_more_link'); } }