I searched for and found a solution to adding a slider to a single post by adding the code below to my functions.php in my child theme and it works great. The only issue is that it is above the masthead and need ti below. Can you help?
Thank you in advance for your assistance.
/**
Add a custom slider on top of the single posts page
*/
function custom_slider() {
if ( is_single () ) : ?>
<div class="custom-slider">
<?php echo do_shortcode( '[rev_slider alias="evergyed-subpage-header"]' ); ?>
</div>
<?php endif;
}
add_action('x_after_site_begin','custom_slider', 30);