WordPress is_home Vs is_front_page

A while ago, i try to use is_home for one of my project and its not working. My intention is only showing something only for frontpage. Then i search why it isnt working, cause usually its working for me. So i found out that because i use a static page. So if you already set the front page for certain page then you should use “is_front_page”, if you didnt set anything at all then use “is_home”. It will settle them all…

Leave a Reply

Your email address will not be published. Required fields are marked *