layers_after_slider_widget_item_inner
Back to Main Index
Outputs your custom code below the slide content on individual slides. (ie the same content is output on all slides).
Location: core/widgets/modules/slider.php
Code output appears after the slide content container ends
Code output appears before the individual slide content wrapper ends
Usage:
1 |
add_action('layers_after_slider_widget_item_inner', 'my_slide_content'); |
This hook is useful if you want to add a static element or bit of HTML within the slide widget that will appear below the slide content on all slides, such as a link, button or graphic
1 2 3 4 5 |
if(! function_exists('my_slide_content') ) { function my_slide_content() { ?> // Your custom code here <?php } } |