I'm working on a wordpress project. I have few contents in header and sidebar that I want to display only on the main front-page of the website. I have a custom front-page.php as a front page template where I list posts from two categories using custom wp_query.
I have tried to put my conditional contents using is_front_page
condition tag, but it doesn't seems to work, no clue why its not working?
Before, putting a custom front page template using front-page.php, it was working just nice, but after I implemented front page template it stops working.
Any clue how to fix this?