WordPress.org

Support

Support » Plugins and Hacks » Events Manager » [Resolved] Polylang and Events Manager

[Resolved] Polylang and Events Manager

  • Hello Event Manager team,

    I know the compatibility of these 2 plugins doesn’t come straight out of the box but it’s almost there thanks to both you guys and Polylang. This is by far the best plugin I’ve ever tried for events. With Polylang I am able to translate categories, events, tags, and so on but there’s a little problem.

    Polylang creates a child-post/child-page for every translation I make. When I translate the Events page and its sub-pages (Categories, Locations, Tags, and so on) I obviously leave the word “CONTENTS” so that EM replaces it with the actual content. But it doesn’t work.

    I figure out that in EM Settings -> Pages you assign 1 page for each content (Events List, Event Categories, Location List…) and that’s the main problem here. Could you please give me an advice on what can I change in the core to be able to assign 2 pages for each content?

    I would be very thankful!

    Kind regards,

    Filip Juncu

    https://wordpress.org/plugins/events-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • PS. I am aware that I can replicate that page with the following lines:

    [event_search_form]
    [events_list limit="10" events_search_form="1" pagination="1"]

    But the problem is that the search form redirects me to the default language search form page.

    Hiya,

    It’s not possible to assign multiple pages as your main events page.

    Instead, it’s likely that you need to write a custom plugin that will act as a bridge between Polylang and EM to force EM to use the translated page, rather than the default page.

    This is something that already exists for the WPML so you might start by looking at that.

    Thanks,
    Phil

    Thanks for your tips, Phil.

    Unfortunately, I’m far from being able to develop a plugin of such complexity. I will try to contact the guys from Polylang to see whether they can help me out with that.

    Have a nice day,
    Filip

    I mark this as resolved because it might be helpful for pro users.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Polylang and Events Manager’ is closed to new replies.
Skip to toolbar