Archived topic
Extra row footer widgets
22 replies · Started by Paul on July 26, 2018
It is also possible to create an extra row of footer widgets under the existing one.
And how can I do that? With a Hook?
Regards,
Paul
Hi Paul, you would need to register a new sidebar and then hook that into the theme. If you're up for the challenge then this document explains how:
https://developer.wordpress.org/themes/functionality/sidebars/
alternatively one of the GP community had this need and created this plugin.
https://wordpress.org/plugins/wp247-generatepress-pre-footer-widgets/
Hi David,
But I would like an extra footer widget extra among the existing footer widgets
Regards,
Paul
So instead of the maximum 5 footer widgets you want 6? Sorry a little unclear.
indeed. But then on 2 rows. 2 x 3 or 2 x 5. If only two rows
therefore an additional widget area under the footer widget area. But how?
Just to cover all bases, you do know you can stack more than one widget in each of the widget areas?
Yes I understand that. But I have 2 different topics that I want to distinguish by two rows of footer widgets.
stack? One above the other?
I read something about footer columns under the footer widget area? Is that a solution for placing extra widgets?
Sorry if we're going round in circles :)
If the two topic rows are separate then what is wrong with the plugin? This gives you a completely separate row of footer widgets?
Aside of rewriting the GP Footer widget area, the other alternative would be some CSS, where we make each footer widget 100% width of the content and make each one a row. Then you could add 3 widgets into the Footer Widget 1 for the first row, and then repeat this for Footer widget 2. Does that work?
OK. I think we do not understand each other. In customizer I see widget settings: Your theme has 6 different widget areas, but this page does not display it.
The number of Footer widgets used across the site are set in the Customiser > Layout > Footer - it can be increased to a maximum of 5.
Can I ask a question? I want to place 3 widgets in the Footer bar via customizer. Which can! But I do not want to stack them, but next to each other? Where can I set that?
If you want, look at http://www.wereldwinkelarnhem.nl at the footerbar widgets
The footer bar isn't great for adding that type of content and getting them aligned with the other widgets will be tricky.
Instead we could do this:
We use only 2 Footer Widgets. They will become our Rows. Load each of the Footer Widgets with 3 widgets and then add this CSS to make them into rows.
.inside-footer-widgets div[class*="footer-widget-"] {
width: 100%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.footer-widgets .widget {
-webkit-box-flex: 1;
-ms-flex: 1 0 33%;
flex: 1 0 33%;
min-width: 250px;
}