Tagged: enfold, plugins, widget area
I need a way to disable the widget areas functionality within Enfold. It does not appear to confirm to the Codex and when making custom widgets and then using other plug-ins with custom widget areas, everything gets messed up. This has been documented in past tickets on this forum.
I am at an impasse, as I have tried every possible workaround to achieve what I need, and everything points back at the way Enfold handles widget areas and the naming convention. I am not here to argue the merits of either strategy, but to say I need the plug-in functionality just as much as I do the theme functionality. So, that leaves me in a very precarious place: between the theme developer and the plug-in developer. I do not want to start arguments, wars, etc. I just need to find a working solution, so I can get back to doing what I need to be doing.
I need to know how to disable the functionality within Enfold for its widget are handling. I need this, so that I can use a plug-in to manually map the widget areas using the Codex approved methodology, which is what every plug-in developer is telling me is needed.
Hey!
I guess you are referring to the Custom Widget area generation, if that’s the case you’d need to edit the /enfold/framework/php/class-sidebar-generator.php file, try removing the construct
function:
function __construct()
{
...
}
Cheers!
Josue
Hey!
I’ll tag this topic to Kriesi, please wait for his response.
Best regards,
Josue
Hey!
I am actually not sure what you mean by “Enfold not following WordPress practices” Enfold adds its widgets exactly like its recommended on the official wordpress codex page:
http://codex.wordpress.org/Widgetizing_Themes
If you have any additional insight or resources feel free to let me know ;)
Best regards,
Kriesi