• Resolved daveporter

    (@daveporter)


    Hi there – thanks for a great plugin
    I’m using it with a GeneratePress (free and premium) site I am working with.
    the header is working fine.
    But I can’t get the footer working.
    My template appears, but also the default GeneratePress footer also appears.
    If I turn it off for the page, then I loose both.
    I can’t see anything in the customizer to configure this?
    Hope you can help?
    Kind regards, Dave

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Nikhil Chavan

    (@nikschavan)

    Generatepress has the footer widget area and the copyright area separate. This plugin only replaces the widget area.

    remove_action( 'generate_footer','generate_construct_footer' );

    You can add this bit of code to your functions.php of your child theme to also remove the copyright footer area.

    ~ Nik

    Thread Starter daveporter

    (@daveporter)

    Thanks for getting back so promptly.
    I tried adding that, but I don’t see any change.
    I am working on a local site unfortunately!
    Regards, Dave

    Thread Starter daveporter

    (@daveporter)

    Oops, a quick update – I had installed the Generate Press chile theme Forefront. So I originally added the code to that, but then I thought I’ll try the parent functions.php and that worked! So I now know that the code is accurate, I’ll find out why it is not working in the child theme…
    Thanks again, Dave

    Plugin Author Nikhil Chavan

    (@nikschavan)

    In that case, you can use this in the child theme –

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

    Let me know if this works.

    ~ Nik

    Plugin Author Nikhil Chavan

    (@nikschavan)

    Hey @daveporter,

    I have marked this post as Resolved, but if you still have the problem feel free to reply here or open a new thread ??

    ~ Nik

    Thread Starter daveporter

    (@daveporter)

    Hi Nikhil, Yes that worked great, thanks so much for your time and help…
    Dave

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Footer in GeneratePress’ is closed to new replies.