Smarty: How to Check if the Current Page is the Home/Front Page

Step 1 – check inside the php coding part if the current page is the home page:

Step 2 – inside tpl themes files:

Leave a Reply

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