WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Polylang and Events Manager (5 posts)

  1. filip.jnc
    Member
    Posted 6 months ago #

    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/

  2. filip.jnc
    Member
    Posted 6 months ago #

    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.

  3. philipjohn
    Member
    Posted 6 months ago #

    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

  4. filip.jnc
    Member
    Posted 6 months ago #

    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

  5. filip.jnc
    Member
    Posted 6 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic