Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Troubleshooting

How to Fix Footer in WordPress: Causes and Fixes

How to Fix Footer in WordPress: Causes and Fixes

Short answer

Start with the symptom. A missing footer usually means a removed template part or a broken theme file, a footer floating mid-page needs a sticky footer CSS rule, and broken columns often come from unclosed HTML in a widget or post. Clear your cache after each fix.

Key takeaways

  • Block theme footers are template parts you can re-add or reset.
  • Classic footers need footer.php and a get_footer call.
  • Short pages need sticky footer CSS to push the footer down.
  • Unclosed HTML tags often break footer layouts.
  • Caching and builder footers explain edits that do not appear.

Find the symptom first: a missing footer usually means a deleted template part or theme file, a footer floating mid-page needs a CSS fix, and a broken layout often comes from unclosed HTML in a widget or post.

Footer problems look alike but have different causes. A footer can vanish, sit in the wrong place, show broken columns, or refuse to update after you edit it.

Below, each section starts with the cause, then shows the fix. If you only want to change the footer text or links, our guide on how to change the footer in WordPress is a better fit.

Match what you see to the likely cause in this table, then jump to that section.

SymptomLikely causeWhere to fix
Footer missing entirelyTemplate part removed or theme file editedSite Editor or theme files
Footer floats halfway up the pageShort page content, no sticky footer CSSAdditional CSS
Columns broken or footer inside contentUnclosed HTML tagWidget or post content
Footer widgets not showingWidgets not assigned or removedWidgets screen
Edits not showing liveCaching or builder overridePurge caches
Footer looks wrong on phonesMissing responsive settingsTheme or builder settings
Plugins break near the footerMissing wp_footer callTheme footer file

In a block theme, the footer is a template part, so if it was deleted from a template or the template part was emptied, the footer disappears from those pages.

To restore it:

  1. Go to Appearance > Editor > Templates.
  2. Open the template used by the broken page, such as Pages or Single Posts.
  3. Open the List View and look for a Footer template part at the bottom.
  4. If it is missing, add a Template Part block and choose your footer.
  5. Save the template.

If the footer template part exists but is empty, go to Appearance > Editor > Patterns and open Template Parts. Open the footer and use the options menu to reset it to the theme default, if offered.

Resetting removes your custom changes, so note anything you want to keep first. The Site Editor documentation explains templates and template parts.

In a classic theme, the footer disappears when footer.php is broken, a template file no longer calls get_footer, or a PHP error stops the page before it reaches the footer.

Check these in order:

  • PHP error. If the page stops loading halfway, a plugin or theme error may be cutting it off. Turn on logging and check the error. Our guide on enabling debug mode shows how.
  • Edited theme files. If someone edited footer.php or a page template, compare it with a fresh copy of the theme.
  • Missing get_footer. Each template should end with a call to the get_footer function. Without it, no footer loads.
  • Page template choice. Some themes offer a Blank or Canvas template that hides the header and footer on purpose. Check the Template setting in the page sidebar.

If you edited theme files directly, update or reinstall the theme to restore them. Put future changes in a child theme so updates do not overwrite them.

On pages with little content, the footer sits right below the content, so it appears halfway up the screen; a sticky footer CSS rule pushes it to the bottom.

This is normal browser behaviour, not a WordPress bug. The page is simply shorter than the window.

Add CSS like this in Appearance > Customize > Additional CSS, or in the Site Editor's Styles > Additional CSS:

body > .wp-site-blocks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > .wp-site-blocks > footer {
  margin-top: auto;
}

That example suits most block themes. Classic themes use different wrapper classes, so check yours with your browser's inspect tool. MDN's guide to the sticky footer pattern explains the technique.

When footer columns collapse or the footer appears inside a sidebar or post area, an unclosed HTML tag in a widget, Custom HTML block or post is usually the cause.

A missing closing div tag shifts everything after it, including the footer. The page then looks as if the footer has moved.

To find it:

  1. Check whether the problem appears on every page or only some.
  2. If only some, look at those posts for Custom HTML blocks or pasted code.
  3. If all pages, check footer widgets and any HTML in your theme settings.
  4. Run the page through the W3C Markup Validation Service to spot unclosed elements.

Remove or fix the broken HTML, then clear your cache and reload.

Footer widgets disappear when they are not assigned to a footer area, the theme changed its widget areas, or the area is turned off in the theme settings.

Go to Appearance > Widgets and look for areas named Footer 1, Footer 2 and so on. Make sure your widgets sit in those areas.

After a theme change, widgets can move to an Inactive Widgets section. Drag or add them back to the footer areas.

Some themes also need you to enable footer columns in the Customizer first. Our guide to adding a footer widget covers the setup.

If widgets still refuse to appear, our guide to fixing widgets that are not showing covers deeper causes.

Footer edits that save but do not appear are almost always cached, or a page builder or theme setting is overriding the footer you edited.

Purge your caching plugin, server cache and CDN, then check in a private window. Our guide on how to clear cache in WordPress covers each layer.

Also check that you edited the right footer. A site may have:

  • A theme footer in the Customizer or Site Editor.
  • A page builder footer template, such as an Elementor theme builder footer.
  • A footer added by a header and footer plugin.

The builder footer usually wins. If you use Elementor, our guide on editing the footer in Elementor shows where it lives.

Mobile footer problems usually come from columns that do not stack, fixed widths, or large padding, which you fix with your theme's or builder's responsive settings or a small CSS change.

In the block editor, select the Columns block in your footer and make sure Stack on mobile is turned on.

In page builders, switch to mobile view and adjust column widths, spacing and font sizes for small screens.

Avoid fixed pixel widths on footer elements. Use percentages or let the theme handle widths. Check the result with your phone, not just a narrow desktop window.

If your theme's footer file is missing the wp_footer call, plugins that load scripts in the footer stop working, including sliders, forms, analytics and the admin bar.

The wp_footer function should sit just before the closing body tag in footer.php. Custom or edited themes sometimes lose it.

Signs include a missing admin bar when logged in, forms that do not submit, and tracking tools that stop recording.

Restore the call in your child theme's footer.php, or reinstall the theme if you edited the original.

Remove Powered by text through your theme's footer settings, the Site Editor, or a child theme, rather than hiding it with CSS or editing core theme files.

Most themes let you change the credit line in the Customizer or theme options. In block themes, open the footer template part and edit or delete the paragraph.

Some free themes lock the credit unless you buy the premium version. Check the theme's licence before removing it by other means. Our guide on how to remove the WordPress footer credit covers each method.

What should you do if nothing works?

Switch to a default theme briefly; if the footer works there, the problem is your theme or its settings, and if not, a plugin is the likely cause.

Then deactivate plugins one at a time to find a conflict. Our guide to fixing plugin conflicts gives a safe order to follow.

Take a backup before changing theme files or resetting templates. That way you can undo any step that makes things worse.

Frequently asked questions

Why did my WordPress footer disappear?

In a block theme, the footer template part may have been removed from a template. In a classic theme, footer.php may be broken, a template may have lost its get_footer call, or a PHP error may stop the page loading. Some page templates also hide the footer on purpose.

How do I make the footer stay at the bottom of the page?

Add a sticky footer CSS rule that makes the page wrapper at least the full screen height and pushes the footer down with an automatic top margin. Your theme's wrapper class may differ, so inspect the page to find the right selector first.

Why are my footer widgets gone after changing themes?

Each theme has its own widget areas. When you switch, widgets in areas the new theme does not have move to an inactive section. Open the Widgets screen and add them to the new theme's footer areas, or enable the footer columns first.

Why does my footer look different on some pages?

Those pages may use a different template, a page builder layout, or contain broken HTML that shifts the footer. Check the template chosen in the page sidebar, then look for Custom HTML blocks or pasted code on the affected pages.

Is it safe to edit footer.php directly?

It works, but theme updates will overwrite your changes. Use a child theme for code edits, or use the Site Editor or theme settings instead. Always take a backup first, because a small PHP mistake can break the whole site.

Sources

  1. Site Editor WordPress.org Documentation
  2. get_footer() WordPress Developer Resources
  3. wp_footer() WordPress Developer Resources
  4. Sticky footers MDN Web Docs
  5. Markup Validation Service W3C

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.