• Resolved ddggccaa

    (@ddggccaa)


    Hi, and thank you for building this plugin!

    The [event_embed] feature is exactly what I need except for one small thing, I can’t get it to link to the event it’s embedding. Say I have an event called “test”—when I use [event_embed event=”test”] in a post, the event’s name, time, and excerpt show up; but there’s no way to get to the event from that post. Am I doing something wrong?

    https://ww.wp.xz.cn/plugins/event-rocket/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Barry

    (@barryhughes-1)

    Yeah that’s a bit of an oversight on my part, sorry!

    You could workaround this in the interim in a couple of ways. One is to use inline templates like this:

    [event_embed event="whatever"]
      <h2> <a href="{url}">{title}</a> </h2>
      {description} <!-- ... and other stuff -->
    [/event_embed]

    The other is to specify a template:

    [event_embed event="some-event" template="my_custom_template"]

    (You could use the default template found in event-rocket/inc/shortcodes/embed-events-template.php as the basis of your own – just pop your custom one inside your theme directory.)

    What I’ll do though is correct the default template so it links to the events by default as doing so makes complete sense … if you can hold on tight I can hopefully push that change out today.

    Plugin Author Barry

    (@barryhughes-1)

    OK, done – can you give the latest release (1.4.4) a whirl and see if that works for you?

    Thread Starter ddggccaa

    (@ddggccaa)

    You’re awesome! Thank you so much for updating this so quickly. It’s working perfectly 🙂

    Plugin Author Barry

    (@barryhughes-1)

    My pleasure – thanks for suggesting it 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Making [event_embed] link to event post’ is closed to new replies.