Support » Plugin: Meow Lightbox » meow-lightbox not working correctly with polylang

  • Resolved BigAndini

    (@fr00d)


    I found polylang support in your plugin in meow-lightbox/mwl_core.php line 22, but it’s not working like expected. I got a 404 on /de/start//wp-json/mwl/v1/info/ids/.

    I changed this line to $home_url = get_site_url(); and then it worked. What’s the idea of this wp-json call? I didn’t read completely into it?

    Why not just using the site_url for the api call? It should not differ when polylang is enabled or disabled.

Viewing 1 replies (of 1 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    Ok, I will try exactly that, it needs to be tested with multisite and more polylang websites. Personally, I am using domains instead of subfolders for my language alternative sites and it might behave differently. Next update should include this fix 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘meow-lightbox not working correctly with polylang’ is closed to new replies.