Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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

    #490149

    Hey aguldbeck!

    Please refer to Ismael’s post here https://kriesi.at/support/topic/6-columns-in-footer/#post-138601

    Regards,
    Yigit

    #490157

    Hi 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,
    Elliott

    #490169

    Hello 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

    #490185

    Hmmm, 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

    #490874

    Hi!

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.