Stomps the footer element to the bottom of the visible page on short pages.
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’
- Upload the plugin folder to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
No, the footer is only fixed when the body is shorter than the the browser height. The footer will be displayed normally otherwise – including on any pages with enough content that a vertical scrollbar is shown.
Where is the admin page?
The only option in this plugin can be set by a constant in the wp-config.php, so there is no admin page. This might change in a future version.
Why doesn’t it work on my site?
If this plugin is not working for you, this could be due to
- your theme not being built to WordPress standards
- a conflict with another plugin
- The element on your site that looks and acts as a footer is not actually an HTML5 ‘footer’ element. In this case read the documentation for instructions to change the element the plugin acts on.
Please ask for help on the plugin support page on WordPress.org.
The plugin does work as it is designed to on all of the sites it has been tested on, however it is not possible for me to test on every available theme and with all combinations of other plugins active. If the plugin is not working for you as you expect it to, please read the documentation carefully to check that you are using it correctly. Then review the topics in the plugin support forum. You may find an appropriate solution outlined in a resolved topic if someone had the same or a similar issue. If you do not find an answer that enables you to solve your issue, please post a new topic on the forum so we have an opportunity to get it working before you consider leaving a review.
A well-made modern theme should be using semantic elements and for anyone using one of these themes a setting would not be required. The workaround to specify a different element was included for anyone using a theme that does something different.
What levels of support are available?
I offer free forum support for free cubecolour plugins. For free support all communication must take place on the WordPress.org forums and a link to your site must be provided where I can I can see the issue without needing any kind of password.
Non-free support via email is also available if the free support is not compatible with the level of support you require. Paid support via email can be requested at: cubecolour.co.uk/premium-support
If your theme is doing something unusual which prevents the plugin working, and it still does not work after defining a value for STOMP_FOOTER_ELEMENT, you may require a custom version of the stomp plugin specific to your theme. Creating this for you is outside the scope of the free support that I am able to provide, however a custom version of the plugin can be commissioned as a paid job by sending your request via the premium support page.
I am using the plugin and it has saved me time and/or money. How can I show my appreciation?
- Initial Version