Skip to content

Instantly share code, notes, and snippets.

@grappler
Created August 9, 2014 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grappler/3554be4272eb922a0add to your computer and use it in GitHub Desktop.
Save grappler/3554be4272eb922a0add to your computer and use it in GitHub Desktop.
Change the number of widgets when the `fit` class is added to Responsive footer widgets https://github.com/cyberchimps/responsivecore/commit/f924c3a9e90233af55c606d6ca222ff70a680d76
<?php
add_filter('responsive_number_footer_widgets', 'responsive_child_number_footer_widgets');
function responsive_child_number_footer_widgets() {
$divider = '5';
return $divider;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment