Integration of full map view (events calendar) in a post

Home Forums Welcome! Pre-Sales Questions Integration of full map view (events calendar) in a post

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1155047
    Marius
    Guest

    Hi. I’ve come to the conclusion that the following is exactly what I need:
    1) An custom introduction text that I want to be able to define in WordPress comfortably (which is shown only on the events page itself, no on event detail pages), e.g. “Welcome user, here is a list of events….”
    2) Below this, the Map view, just like shown on http://wpshindig.com/events/map/

    Normally, ordinary WordPress plugins make this easy: create a page (e.g. a static page), have a text block with the custom introduction text, then insert a shortcode.
    For some unfathomable reason, I can’t seem to find such a shortcut. If it doesn’t exist, I’m really wondering why.

    All other solutions are hacky. Exemplary, I could just edit the template files, but then I would have to write my introduction text right into these files, which is not a comfortable solution.

    Any other solutions?

    Best regards!
    Marius

    #1155058
    Geoff
    Member

    Hey Marius,

    Thanks so much for getting in touch! I’m so glad you’re checking out our plugins and I really do hope they’re a great fit for your project. 🙂

    A custom introduction is totally possible. In fact, there are two ways to make it happen:

    • There is a setting in Events > Settings > Display that allows you to type content into the calendar template, both above and below the calendar.
    • Any of the calendar’s templates can be overridden in your theme and customized to suit your needs — including custom code markup in the templates

    Our plugins will not create static pages for you — instead, all of the calendar’s pages are actually custom archive templates for events, which are a custom post type. That said, we are working on shortcodes as we speak that would allow you to embed full calendar views into any WordPress page or post. We’re expecting to release that feature in version 4.3, which is our next major version and set to come out in the next 1-2 months.

    Does this help answer your questions? Please let me know.

    Cheers!
    Geoff

    #1155211
    Marius
    Guest

    Hi Geoff,
    thank you for your answer, it was helpful!

    I was already aware of option 1 but didn’t consider it, because it inserts the HTML on both the map view (overview) page and the detail page (which I didn’t want, I wanted it just on the overview page). However, I just realized that I could just edit the detail-page template and remove the PHP-code that inserts this content.

    Also, it’s good to hear that you’re working on these kinds of shortcodes :).

    Cheers!
    Marius

    #1155321
    Geoff
    Member

    Right on! So glad this helped and I appreciate you following up to let me know. 🙂

    I’ll go ahead and close this thread but please do let us know if any other questions pop up and we’d be happy to help as best we can.

    Cheers and have a great day!
    Geoff

    #1158096
    Geoff
    Member

    Hi Marius, I see my initial reply was marked as the correct answer. I’ll go ahead and close this thread but please let us know if any other questions come up and we’d be more than happy to help. 🙂

    Cheers!
    Geoff

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Integration of full map view (events calendar) in a post’ is closed to new replies.