Site logo

Archived topic

Is it possible to make the Footer Widgets display after the Footer Bar?

3 replies · Started by Ben on November 9, 2020

Viewing posts 1–4 of 4

Hi,

I'm keen to have the footer bar display before the widget columns. I.e. swap the order of the footer sections.

Is it possible with a filter?

Ben

Hi there,

Try this:

add_action( 'after_setup_theme', function() {
    remove_action( 'generate_footer','generate_construct_footer', 10 );
    add_action( 'generate_footer','generate_construct_footer', 2 );
} );

Adding PHP: https://docs.generatepress.com/article/adding-php/

Many thanks Leo.

No problem :)

This archived topic is closed to new replies.