Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #279595

    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?

    #279752

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.