I’d like my blog post template to resemble the rest of my pages which use the fullwidth easy slider to display the page name… is there a simple way to incorporate this into the blog template?
Hey!
Something like this will work (add it to the theme functions.php file):
function add_custom_slider() {
if(is_page(3)){
echo do_shortcode("_FULLWIDTH_EASY_SLIDER_SHORTCODE_HERE_");
}
}
add_action('ava_after_main_container', 'add_custom_slider');
Change 3 by the ID of your blogpage
You can enable this to get the slider shortcode.
Regards,
Josue