[SOLVED] Featured image shows the first image included in the post.
When I have no featured image with my post the Montezuma theme will show the first image included in the post itself. But I don't want that. How can I make sure that the featured image is only showing when allowed?
|
currently there is no way to do that. The bfa_thumb() function
Quote:
|
I modified the thumb.php in /wp-content/themes/montezuma/includes and I think it works. At least my site still works and no faulty featured images anymore.
I removed line 58 to 64. } elseif ( bfa_has_attachment() ) { $thumb = bfa_get_first_attachment_id(); $hasthumb = TRUE; } elseif( bfa_has_img_src() ) { $thumb = bfa_get_first_img_src(); $hassrc = TRUE; and saved the thumb.php. :) |
All times are GMT -6. The time now is 02:47 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.