// THEME FILE > lib > widgets.php … [Read more...] about CTA & Announcement widget areas – > lib > widgets.php
CTA & Announcement widget areas – functions.php
// FUNCTIONS.PHP add_action( 'genesis_before', 'refined_announcement_widget', 8 ); /** * Hooks Announcement Widget. * * @since 1.0.0 */ function refined_announcement_widget() { genesis_widget_area( 'announcement-widget', array( 'before' => '', 'after' => '', )); } add_action( 'genesis_before_footer', … [Read more...] about CTA & Announcement widget areas – functions.php
CTA & Announcement widget areas – CSS
STYLE.CSS /* Site Wide CTA ------------------------------------------------------ */ .site-wide-cta { background: #fff url(images/border.png) top center repeat-x; background-size: 1200px 1px; border: none; margin: 0 auto; padding: 30px; } .site-wide-cta .enews-widget { color: #333; } .site-wide-cta .enews-widget p … [Read more...] about CTA & Announcement widget areas – CSS
Dash Icons
//* Enqueue styles - Add Dash Icons add_action( 'wp_enqueue_scripts', 'themeprefix_enqueue_styles' ); function themeprefix_enqueue_styles() { wp_enqueue_style( 'dashicons' ); } Then use: Contact page … [Read more...] about Dash Icons
reposition the secondary navigation menu
//* Reposition the secondary navigation menu remove_action( 'genesis_after_header', 'genesis_do_subnav' ); add_action( 'genesis_before_header', 'genesis_do_subnav' ); … [Read more...] about reposition the secondary navigation menu
Add a Custom Class to the Site Title in Genesis
// Filter the title with a custom function add_filter('genesis_seo_title', 'wap_site_title' ); // Add additional custom style to site header function wap_site_title( $title ) { // Change $custom_title text as you wish $custom_title = 'WAEstate'; // Don't change the rest of this on down // If we're on the front page or home … [Read more...] about Add a Custom Class to the Site Title in Genesis
reposition the primary navigation menu:
//* Reposition the primary navigation menu remove_action( 'genesis_after_header', 'genesis_do_nav' ); add_action( 'genesis_before_header', 'genesis_do_nav' ); … [Read more...] about reposition the primary navigation menu: