Reply To: Width widgets

Home Forums Support Width widgets Reply To: Width widgets

Home Forums Support Width widgets Reply To: Width widgets

#165600
Dani

Hi Tom,

If I only want 2 widgets in Footer, is this the code? (First widget 40% width, second widget 60% width)

add_filter( 'generate_footer_widget_1_width','generate_custom_footer_widget_1_width' );
function generate_custom_footer_widget_1_width()
{
      // 40%
      return '40';
}

add_filter( 'generate_footer_widget_2_width','generate_custom_footer_widget_2_width' );
function generate_custom_footer_widget_2_width()
{
      // 60%
      return '60';
} 

And I can Use your Download Simple PHP ?

Thanks
Dani

  • This reply was modified 8 years, 2 months ago by Dani.