-
AuthorPosts
-
August 19, 2015 at 2:01 am #489787
Hi,
How can I add a 6th column in the footer? So that it is showing up in the theme options an a 6th widget can be added to it.
regards, Alex
August 19, 2015 at 3:42 pm #490149Hey aguldbeck!
Please refer to Ismael’s post here https://kriesi.at/support/topic/6-columns-in-footer/#post-138601
Regards,
YigitAugust 19, 2015 at 3:47 pm #490157Hi aguldbeck!
Around line 1875 in the /enfold/includes/admin/register-admin-options.php file you should see this.
__('1', 'avia_framework') =>'1', __('2', 'avia_framework') =>'2', __('3', 'avia_framework') =>'3', __('4', 'avia_framework') =>'4', __('5', 'avia_framework') =>'5'));
Change it to this.
__('1', 'avia_framework') =>'1', __('2', 'avia_framework') =>'2', __('3', 'avia_framework') =>'3', __('4', 'avia_framework') =>'4', __('5', 'avia_framework') =>'5', __('6', 'avia_framework') =>'6'));
Best regards,
ElliottAugust 19, 2015 at 3:55 pm #490169Hello all,
I looked at the block of code here: https://kriesi.at/support/topic/6-columns-in-footer/#post-138601 but it is for and from a different theme and while the sections identified for replacement were very similar they were not identical so i did not want to risk
Elliot I did follow your instructions by making a copy of /includes/admin/register-admin-options.php in my child theme, using that same directory structure, and changing as you recommended, but this change did not seem to have any effect
do i need to replicate the directory structure in my child theme or can I simply drop in my copy of register-admin-options.php on the root level? Please advise
thank you
alex
August 19, 2015 at 4:08 pm #490185Hmmm, I also made a copy of register-widget-area.php and put that here:
enfold-child/includes/admin/register-widget-area.php
…changing as you recommended, but still not getting option to switch to 6 columns in child theme options
/a
August 20, 2015 at 4:15 pm #490874Hi!
That’s not a template file so you cannot add it to a child theme. It should work if you edit the parent theme though.
We could try using the avf_option_page_data_init filter for this also but I think it would break when a new update is released anyway.
Best regards,
Elliott -
AuthorPosts
- You must be logged in to reply to this topic.