StevenHaley
Member
Posted 6 months ago #
Hi,
I've had to hack the PHP on the theme I'm using to make it replace the header image with the featured image of the page. However, it still displays the featured image, in a significantly reduced size, in the body of the page. I don't want that to happen. Where should I look to fix that? In case this is theme-specific, I'm working with ThemeZee's zeeBusiness.
Thanks,
Steve
Hi Steven,
Could you please share a link to your site so we can take a look?
Thanks!
StevenHaley
Member
Posted 6 months ago #
Oops, here is the link to the particular page causing trouble. (In case you wander off to the other pages on the site, be aware that that specific page isn't linked anywhere yet.)
You should take a look inside your page.php file. The following line of code:
<?php the_post_thumbnail('medium', array('class' => 'alignleft')); ?>
is responsible for retrieving the page image. Delete it and you should disappear. You might want to backup your file as a precaution before you make any changes to it.
Good luck!
StevenHaley
Member
Posted 6 months ago #
D'oh, I should have spotted that... Thanks, problem solved.
Glad you made it work. BTW, my apologies for trying to make you disappear:
Delete it and you should disappear.
:-) Of course, I meant to say:
Delete it and the image should disappear.