public
Created

Genesis Widgetized Footer plugin v1.0+ -- helper functions, plus filters for customizing and branding

  • Download Gist
gwfoot-helper-functions.php
PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
<?php
 
// since plugin version v1.0:
 
/** Genesis Widgetized Footer: Reposition Disclaimer Widget to the Very Bottom */
add_action( 'genesis_before', '__gwfoot_footer_disclaimer_bottom' );
 
add_filter( 'gwfoot_filter_footer_one_widget_title', 'gwfoot_custom_footer_one_widget_title' );
/**
* Genesis Widgetized Footer: Custom 1st Footer Area Widget Title
*/
function gwfoot_custom_footer_one_widget_title() {
return __( 'Custom 1st Footer Area', 'your-child-theme-textdomain' );
}
 
add_filter( 'gwfoot_filter_footer_one_widget_description', 'gwfoot_custom_footer_one_widget_description' );
/**
* Genesis Widgetized Footer: Custom 1st Footer Area Widget Description
*/
function gwfoot_custom_footer_one_widget_description() {
return __( 'This is the custom 1st Footer Area description...', 'your-child-theme-textdomain' );
}
 
add_filter( 'gwfoot_filter_footer_two_widget_title', 'gwfoot_custom_footer_two_widget_title' );
/**
* Genesis Widgetized Footer: Custom 2nd Footer Area Widget Title
*/
function gwfoot_custom_footer_one_widget_title() {
return __( 'Custom 2nd Footer Area', 'your-child-theme-textdomain' );
}
 
add_filter( 'gwfoot_filter_footer_two_widget_description', 'gwfoot_custom_footer_two_widget_description' );
/**
* Genesis Widgetized Footer: Custom 2nd Footer Area Widget Description
*/
function gwfoot_custom_footer_two_widget_description() {
return __( 'This is the custom 2nd Footer Area description...', 'your-child-theme-textdomain' );
}
 
add_filter( 'gwfoot_filter_footer_disclaimer_widget_title', 'gwfoot_custom_footer_disclaimer_widget_title' );
/**
* Genesis Widgetized Footer: Custom Disclaimer Footer Area Widget Title
*/
function gwfoot_custom_footer_disclaimer_widget_title() {
return __( 'Custom Disclaimer Footer Area', 'your-child-theme-textdomain' );
}
 
add_filter( 'gwfoot_filter_footer_disclaimer_widget_description', 'gwfoot_custom_footer_disclaimer_widget_description' );
/**
* Genesis Widgetized Footer: Custom Footer Disclaimer Widget Description
*/
function gwfoot_custom_footer_disclaimer_widget_description() {
return __( 'This is the custom Footer Disclaimer description...', 'your-child-theme-textdomain' );
}
gwfoot-helper-styles.css
CSS
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
/* Genesis Widgetized Footer: Footer Area #1
------------------------------------------------------------ */
 
/* Wrapper */
#gwfoot-footer-one-area {
}
 
/* Area class full-width case */
.gwfoot-footer-one-full-width {
}
 
/* Area class one third case */
.gwfoot-footer-one-one-third {
}
 
/* Each widget */
.gwfoot-footer-one {
}
 
 
/* Genesis Widgetized Footer: Footer Area #2
------------------------------------------------------------ */
 
/* Wrapper */
#gwfoot-footer-two-area {
}
 
/* Area class full-width case */
.gwfoot-footer-two-full-width {
}
 
/* Area class two thirds case */
.gwfoot-footer-two-two-thirds {
}
 
/* Each widget */
.gwfoot-footer-two {
}
 
 
/* Genesis Widgetized Footer: Footer Disclaimer
------------------------------------------------------------ */
 
/* Wrapper */
#gwfoot-footer-disclaimer-area {
}
 
/* Each widget */
.gwfoot-footer-disclaimer {
}

Note: The above codes work with plugin version 1.0 or higher!

Extended explanation can be found at the plugin's page "FAQ" section at the bottom:
http://wordpress.org/extend/plugins/genesis-widgetized-footer/faq/

Download "Genesis Widgetized Footer" plugin at wordpress.org:
http://wordpress.org/extend/plugins/genesis-widgetized-footer/

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.