[SOLVED] Featured Image Thumbnail On Homepage Only
Currently, if I have excerpts, the featured image thumbnail shows up on every page. I would like the featured image thumbnail to show up on excerpts on the homepage only. I know I need to add a php if statement, but I do not know where to do that in Atahualpa.
|
I figured it out. Here is how I did it in case anyone else needs it in the future:
1. Open up bfa_post_parts.php in the functions folder. 2. Find Code:
if(has_post_thumbnail()): ?> Code:
if(has_post_thumbnail() AND is_home()): ?> |
All times are GMT -6. The time now is 04:53 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.