Stomps the footer element to the bottom of the visible page on short pages.
Calificaciones
4
Última actualización
April 16, 2024
Versión
1.0.1
Instalaciones activas
90
Stomp

Stomps the footer element to the bottom of the visible page on short pages.

Usage:

When the height of the document body is less than the internal height of the browser window, this plugin prevents a gap appearing between the footer element and the bottom of the visible page by fixing the footer to the bottom of the page.

If the plugin does not have any effect on the footer of any short pages, this may be due to your footer not being marked up as an HTML5 ‘footer’ element. It may have instead been marked up as another element such as a div with a class or id of ‘footer’, ‘site-footer’, or something else.

If this is the case you can add a constant to define the CSS selector for your footer element by editing your wp-config.php by adding the line:

define( 'STOMP_FOOTER_ELEMENT', '.site-footer' );

before the line:

/* That's all, stop editing! Happy blogging. */

In this example the value of STOMP_FOOTER_ELEMENT is ‘.site-footer’

Instalaciones activas
90
Probado hasta
6.5.5
Te puedes descargar este plugin para utilizarlo en tu instalación autoalojada de WordPress.