- This topic has 7 replies, 2 voices, and was last updated 1 year, 4 months ago by Fernando.
July 28, 2022 at 12:29 pm #2296585Jon
I have three footer widgets. After adding an Elements Hook, the widgets disappeared! Even after completely deleting the element, the widgets still will not display. I can see the footer widgets in the admin menu, but they do not render for the user.
I saw a similar problem on the forum topic: https://generatepress.com/forums/topic/footer-widgets-disapeared-after-adding-4th-and-5th-footer-widget/
Although my situation is slightly different, I disabled all the plug-ins and re-enabled them as suggested in this topic; it did not work.
I have caching disabled during development.
There is an earlier version of the staging site, I’ll put both in the “Private Information” area so you can see.July 28, 2022 at 5:10 pm #2296725Fernando Customer Support
In Appearance > Widgets, do the Footer Widget sections have Blocks?
Moreover, in Customize > Layout > Footer, do you footer widgets set to a specific number?July 29, 2022 at 12:51 am #2296958Jon
Thanks for the reply. BTW, earlier I said I have three footer widgets, but there is really four.
Q: In Appearance > Widgets, do the Footer Widget sections have Blocks?
A: Yes. Four footer widgets, two have GB containers, in fact.
Q: Moreover, in Customize > Layout > Footer, do you footer widgets set to a specific number?
A: It is zero. When I change it to 4 as part working with your question, the widgets appear but there is no styling (background, padding, etc). (Should I leave it at 4, or should I set it back to zero, where it was?)
All I did previously was play around with the Elements. I didn’t mess with the widgets or customizer, but somehow it got whacked.July 29, 2022 at 1:13 am #2296972Fernando Customer Support
I see. Using Elements shouldn’t have caused this. There’s no code included in GP Elements that would affect widget content, and settings in your Customizer.
This is odd. I would assume something happened to your database somehow?
You may leave it at four, as setting it back to 0 wouldn’t show your widgets.
You should be able to add padding in Customize > Layout > Footer as well.
As for the background color, you may alter it in Customize > Colors > Footer Widgets.July 29, 2022 at 1:29 am #2296992Jon
Yikes. This project is on a shared hosting platform so there’s been no direct DB work. I haven’t even run so much as a query with this project.
Since the remedy to go in and do some rebuilding, I will probably jettison the footer widgets altogether and rebuild it in a single footer Element. This project has brought me closer to Elements; it makes for less clicking around the customizer. The only bad thing about it is the name (same as the HTML “element”); it can be confusing in a team setting with people not familiar with GP.
I’ll come back and close the ticket if I don’t encounter any more hidden surprises.July 29, 2022 at 1:36 am #2297000Fernando Customer Support
I see. Hope it goes well!July 30, 2022 at 5:37 am #2297996Jon
I’m closing this ticket. The footer has been rebuilt using elements this time.
I don’t know what whacked my footer before; hopefully it won’t happen again.July 31, 2022 at 5:02 pm #2299226Fernando Customer Support
Glad to hear that! Hopefully it doesn’t!
- You must be logged in to reply to this topic.