How to remove footer from pages?

Hi everyone

How do I remove the archive, tag and meta blocks from the footer on pages? It's OK on posts, but I would prefer not to have it on pages.


Hello Chrisdev,

If you want to remove footer metaboxes for pages only then you would have to modify your footer.php
Search for the following in your footer.php
if ( $rtp_general[‘footer_sidebar’] ) {
and replace it with the following code
if ( $rtp_general[‘footer_sidebar’] && !is_page() ) {

P.S. If you are editing rtPanel parent theme then this will override after next upgrade so it is recommended that you use the rtPanel child theme.

Download rtPanel Child Theme

Thanks Dattatrayphadtare, I’ll give that a try.