Tagged: devin-docs
What i want in footer:
1) more than 5 column
2) individual widget spacing (css)
What i found:
footer.php : case 6: $class = ‘av_one_sixth’; break; <<< there can be 6 columns, BUT enfold option shown only 5
Is there any easy way to do it?
or
i have to hard code and put the widget shortcode into footer.php one by one?
Hi frankyfranky!
Open the footer.php file and search for the switch that applies the correct classnames. Change it to read:
switch($columns)
{
case 1: $class = ''; break;
case 2: $class = 'av_one_half'; break;
case 3: $class = 'av_one_third'; break;
case 4: $class = 'av_one_fourth'; break;
case 5: $class = 'av_one_fifth'; break;
case 6: $class = 'av_one_sixth'; break;
}
Then open the file includes/admin/register-admin-options.php and scroll down to the bottom of the file. you will see an array entry that is called “Footer Columns”.
Change the subtype to:
"subtype" => array('1'=>'1','2'=>'2','3'=>'3','4'=>'4','5'=>'5','6'=>'6'));
You can now select a 6 column footer layout in your backend.
Regards,
Devin
thank you, it works perfect!