Skip to content

Instantly share code, notes, and snippets.

@deckerweb
Created April 26, 2012 08:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deckerweb/2497456 to your computer and use it in GitHub Desktop.
Save deckerweb/2497456 to your computer and use it in GitHub Desktop.
Genesis Widgetized Footer plugin v1.0+ -- helper functions, plus filters for customizing and branding
<?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' );
}
/* 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 {
}
@deckerweb
Copy link
Author

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment