Support

Home Forums Event Espresso Premium Span class

Span class

Posted: February 16, 2016 at 6:02 am

Viewing 1 reply thread


Kevin G.

February 16, 2016 at 6:02 am

Any idea why i get this notice : BinnenkortHiphop dansstage voor jongeren ouder dan 16 jaar” href=”http://www.staging1.dancecool.be/evenementen/dancecool-hiphop-en-urban-16-plus-danskamp-2016/”><span class=BinnenkortHiphop dansstage voor jongeren ouder dan 16 jaar” title=”BinnenkortHiphop dansstage voor jongeren ouder dan 16 jaar” width=”1024″ height=”1506″ src=”http://www.staging1.dancecool.be/wp-content/uploads/2015/10/dansstage-jongeren-ouder-dan-16-jaar.jpg&#8221; itemprop=”image” />
You can see it here:

http://www.staging1.dancecool.be/evenementen/dancecool-hiphop-en-urban-16-plus-danskamp-2016/


Tony

  • Support Staff

February 16, 2016 at 6:55 am

Hi Kevin,

This is happening because your theme is using the_title() function for the title attribute rather than the_title_attribute()

The problem with this is other plugins may hook into the_title and output additional details (which is exactly what Event Espresso is doing) so a quick workaround is to disable the banner that Event Espresso is adding by navigating to:

Event Espresso -> Events -> Templates -> Display Status Banner.

Set that option to No and save the settings.

That will stop EE injecting the additional details and it should remove that code from the_title.

The permanent fix is for the theme to be updated to use the_title_attribute() rather than just the_title() as shown here:

https://codex.wordpress.org/Function_Reference/the_title_attribute#Inline_with_array_args

If this is a theme you have purchased I would recommend creating a ticket with the theme author to have them update this.

Viewing 1 reply thread

The support post ‘Span class’ 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.

Event Espresso