Introduction: In
this article today I will explain how we can display content or div only on
Homepage of wordpress websites
Description:
Some time in wordpress we have to show content or div only
on home page of website.
e.g. I have to show pic/photo in footer only on home page. To
fulfill the requirement we can create new home page template(home.php) or
simply add a php code in footer.php file of theme. Here I have add the below
given code in footer.php file: