Support

Home Forums Event Espresso Premium Facebook, Twitter and LinkedIn social share on Event pages not working

Facebook, Twitter and LinkedIn social share on Event pages not working

Posted: September 7, 2018 at 3:24 pm


Josh

  • Support Staff

September 7, 2018 at 3:28 pm

Hi,

Those appear to be added by the theme, or maybe added by a plugin? In either case the code needs to be corrected so instead of using the_title(), it should use the the_title_attribute(). If the theme adds the social share links, is there a place where we can download the theme from? If it’s a plugin that adds those, where do we download the plugin? It’s likely a simple one liner fix in either case.


scoutdigitaltraining

September 7, 2018 at 3:33 pm

Thanks for your quick response! I don’t have a social sharing plugin (apart from the Events Espresso one for post registration) so it must be from the theme.

Here’s a link to my download of the original theme: https://app.box.com/s/gdd1plkkpiltlvnzh9a3gdbvgb3znt2h it’s called Univero and I purchased it through Themeforest.


Josh

  • Support Staff

September 7, 2018 at 4:14 pm

Thanks. In /univero/template-parts/sharebox.php on lines 12, 21, and 30, they use the_title() and that needs to be changed to
the_title_attribute().

Here’s a gist that includes the fixes:
https://gist.github.com/joshfeck/067a75ed008daa50b56719d244130c25


scoutdigitaltraining

September 7, 2018 at 4:23 pm

Thank you! I’ll give that a go.

The support post ‘Facebook, Twitter and LinkedIn social share on Event pages not working’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  scoutdigitaltraining 2 weeks, 2 days ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!