• Hi,

    I created an event with talks, but the talks don’t show on the event page. Any thoughts?

    I am using The Events Calendar 4.2.7.

    I have tried Twenty Sixteen but it makes no difference.

    Thanks,
    rt.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter rtandoh

    (@rtandoh)

    BTW there is no event shortcode in the event description and the Event Talks button is not showing.

    Plugin Author Denis ?oljom

    (@dingo_d)

    Oh, sorry for not seeing this sooner, I never got any notice about the question.

    What version of WordPress do you have?

    You said that you don’t see the Event Talks button. Do you have any add ons for TinyMCE editor? Did you try disabling some of the plugins you have on your site and checking if it appears? Also can you check for any JavaScript errors? When on the page you want to add the talk shortcode, press F12, or right click and click Inspect. You should see errors in your console.

    Did you try to manually add the shortcode using

    [event_talks post_id="xxxx" class=""]

    Where the xxxx is the post id of your desired event (you should see it in the URL).

    • This reply was modified 8 years, 1 month ago by Denis ?oljom.

    Good to hear from you Denis.

    I am running WordPress 4.6.1.

    I am not using any plugins for TinyMCE editor. The only plugin that seems to add anything to the editor is Types, which I have now deactivated.

    I’ve tried manually adding a shortcode and now I am getting the following error messages on screen: Warning: Invalid argument supplied for foreach() – see https://wps1.ismysite.co.uk/mtevent/hackathon/.

    It is a test site, so let me know if you would like admin access.

    Plugin Author Denis ?oljom

    (@dingo_d)

    Hmmm the error line points to the post meta on your event – the talks

    get_post_meta($post_id, 'event_details', true)

    So it looks like the talks details aren’t being saved to post meta for some reason.

    When I inspect your event shortcode, which is being rendered, I cannot see the event ID. The post id inside the talks shortcode should be the id of the event post. For instance my test event had id of 1713 so when I inspect the shortcode it looks like this:

    <div id="event-1713" class="event_talk_wrapper post-1713 ">

    In your case I only see event- without the id. So it’s not pulling the correct id, and that’s why it cannot find any event_details post meta.

    You can send me the username and password on the e-mail and I’ll check it out when I get home ??

    Apologies, I hadn’t written the shortcode properly. It now works. I would suggest that under the Installation tab on this site, you point out the need to include the id of the event post in the shortcode.

    BTW I still don’t see the Event Talks button.

    Thanks.

    Plugin Author Denis ?oljom

    (@dingo_d)

    If you send me your username and password on the e-mail I can look into the missing events talk button. The button was placed there so that you don’t have to manually insert the shortcode ??

    I’ll add that into the description just for the safe measure ?? Thanks for the suggestion ^^

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Talks not displaying on event page’ is closed to new replies.