Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Stephen Harris

    (@stephenharris)

    Sounds like the event details aren’t being added to the events page – you could try disabling other plug-ins to see if there’s a conflict, or else just include an single-event.php template in your theme – see: https://wp-event-organiser.com/documentation/editing-the-templates/

    and use the available functions.

    Thread Starter swatson12345

    (@swatson12345)

    Found an issue somewhere between this and facebook like plug-in.
    Could this be both plug-ins are using the same functions/code?

    Plugin Author Stephen Harris

    (@stephenharris)

    Will look into this when I get the chance, can’t think why though! Which facebook plug-in is it?

    I am having this problem as well, and found the conflict exists with the Yoast WordPress SEO plug-in. I can reproduce the following when Yoast and Event Organiser are both active:

    No event metadata will show when using Yoast and BOTH of the following are true for the event:
    1) The Yoast meta description field is empty, and
    2) The WordPress manual excerpt is blank.

    If you disable Yoast, the event metadata shows. I’d appreciate it if you had a workaround to this we can put into place until a new version comes out. (also found it happens on the last update of EO which we already put in production, and we really can’t turn off either plugin).

    Thanks!

    Plugin Author Stephen Harris

    (@stephenharris)

    Thanks for the detailed summary! It was a pretty obscure one, but those details helped nail it :).

    Event Organiser basically detects if you’ve created your own templates for the plug-in to use. If not – for the single event page – it prepends the event details to the main ‘event content’. But it only does it once (because of conflicts with another plug-in).

    But if your event doesn’t have a meta description for opengraphs, the excerpt is used, but if that’s blank, its generated automatically from the content: that involves retrieving the content (to which EO appends the meta data). So when the content is retrieved again the plug-in doesn’t prepend it the second time.

    Since Yoast’s SEO is more popular than the other plug-in, I’ll revert that fix and everything should work fine.

    Though the proper solution would be to create your own single-event.php template: https://wp-event-organiser.com/documentation/editing-the-templates/.

    Update will follow shortly ??

    New version 2.2 fixes the problem. Thanks for the fantastic turnaround on this!

    FYI, I was not using the single-event.php template, but was using the event-meta-event-single.php template (although the error occurred without any templates as well.) Prior to updating to 2.2 I did add a single-event.php template based on my theme (Genesis framework) and that did correct the problem as well.

    Do you recommend always using the meta template and single-event template together?

    Plugin Author Stephen Harris

    (@stephenharris)

    No worries ??

    The provided single-event.php template actually uses the event meta template. I recommend using edited copies of all the templates – if only because you can tweak them to better suite your site.

    I strongly recommend using your own ‘single-event.php’ if possible – because doing so avoids are rather ugly ‘workaround’ which can in certain circumstances – as it did in this case – lead to unexpected behaviour.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Events are missing information’ is closed to new replies.