layers_before_slider_widget_item_inner

Last Updated:
Back to Main Index

Outputs your custom code above the slide content on individual slides. (ie the same content is output on all slides).

layers_before_slider_widget_item_inner

Location: core/widgets/modules/slider.php

Code output appears after the slide container

Code output appears before the individual slide content wrapper

Usage:

This hook is useful if you want to add a static element within the slide widget that appears above the slides such as the output of a Heading field or similar. Note that because the slider height controls are determined by the user, this hook requires delicate styling and testing to be implemented correctly.