Posted: April 13, 2015 at 11:36 am
|
Something seems to be going wrong with the featured image. It shows a bit of HTML as site content. Any idea what might be going wrong? |
Hi Kendra, We are trying to pinpoint where this is coming from. Could you login to your WP dashboard and go to Event Espresso –> General Settings –> Templates and temporarily turn off the status banners? Also, could you enable pretty permalinks for your site through WP-admin –> Settings –> Permalinks (select post name)? Thanks — |
|
|
Thanks Lorenzo, |
|
Hi, Have you modified any Event Espresso files? Could you (temporarily) swap to the Parent Theme (Solon) and see if the issue persists with that theme? |
|
Hi Dean, |
Hi Kendra, Looking at the code it seems there is a span within the title field – http://take.ms/SNpKh Can you check the title field for your feature image, is it wrapped in a span tag? |
|
|
There seems to be a problem with this piece of code in my content.php If i remove |
Hi Kendra, Yes that’s the problem, the status banner uses the_title() to output the banner. The theme should not be using the_title() for the title attribute, there is another function for that – the_title_attribute() If you copy content.php to your child theme. Then change this line:
to this:
|
|
|
Thank you! Problem resolved. Excuse me for my bad wordpress skills and thanks for your time! |
The support post ‘HTML problem with featured image’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.