• Hi,

    I want’t to custom my sidebar depending on the page template.
    Is that possible?

    i have tried this but it doesn’t work:
    `if(is_page_template(‘template_blog.php’))
    {
    echo “YES”;
    }

    Can someone help?

The topic ‘is_page_template in the sidevar’ is closed to new replies.