Widget Area with only custom Widgets


Hi! I'm starting to use Beans as a base for my templates and to say the truth is that I'm delighted! It is a pity I did not find it before 🙂

However I'm encountering a problem with the widgets area and a few custom widgets I've created.

Right now I have a widget area only with two custom widgets, but Beans is reluctant to find them and tells me Sidebar Primary does not have any widget assigned!.

However when I add a core widget to the Widget Area, it shows me all the three with no problem.

I'm registering widgets with

add_action ('widgets_init', function () {
  register_widget ('FB_Submenu_Widget');
  register_widget ('FB_RRSS_Edusa_Widget');
});

I have follow the code until the beans_have_widgets function, but then i get lost 🙁

Does anyone know how to fix this? Thank you!


Hi Jorge and welcome to Beans Community,

This article explains how your can use widget area in Beans. Does that help?

Happy coding,


Thank you for your reply Thierry!

I still don't know what is happening, but now I guess it is more a problem with my widgets that with Beans. Also I am using the primary sidebar, so it should not be a problem in the sidebar code.

Right now I have added another widget from a plugin (The Events Calendar), and it work perfectly!

Here are a few screenshots: https://cloudup.com/cOXHfkot7o4

If I have my two widgets and another from a plugin, all three are showing. If I remove the one from the plugin, the sidebar appears empty ¿?

I guess I have to add some code to the plugins to make them detectable, but still investigating.

Thank you very much!


Hi Jorge,

This is very weird. Perhaps the widgets are not constructed properly. I am happy to take a look at your code if that helps, please send a temporary admin and ftp account to contact (100% confidential).

Thanks,


Hi Thierry, thank you very much for your offering.

Right now we don't have external ftp access, but I can prepare another installation in a debugging server and send you access.

Again thank you very very much for your help.

Write a reply

Login or register to write a reply, it's free!