I'm stuck in an odd situation. I'm taking dynamic boolean value from admin panel in WordPress, and with that condition of data, I need to set another conditional statement, but when in implementation I came to know that, I've never done this.
if( get_option('on_blog_page_too') )
if( is_home() || is_page_template('blog.php') ) :
else
if( is_home() ) :
But as you can understand I'm getting a Parse Error:
Parse error: syntax error, unexpected 'if' (T_IF), expecting ':'...
How can I put condition over conditional statements?