Content Dock with WPML different domains for each language

Hi,

I’ve configured Content Dock for use on my primary domain: ghana-car-rentals.com.
In the Content Dock settings I selected the ‘Home’ page as the page where the dock should appear.
Using WPML I run multiple languages on my website. The second language, Dutch, runs on it’s own domain (ghana-autoverhuur.nl). The content dock does not show up there and when I check the settings is not set for the Dutch version of Home. How can I make sure the awesome Content Dock works across all languages?

Hey there,

Regretfully, the Content Dock does not have multi-domain support. It might be possible through custom development but that would be outside the scope of our support. We do have an in-house custom development team that offer paid services, who may be able to assist. They can be contacted at pinnacle@theme.co if this is of interest to you.

Thank you for your understanding.

Hi Xian,

I think you misinterpreted my question. The two different domains is just a way of setting up WPML, that doesn’t change anything on how WordPress behaves. So the issue simply comes down to how it is possible that the Content Dock does not show up when enabling WPML, regardless of the way WPML has been setup.

Hi there,

What’s the version of your content dock, would you mind providing your admin and FTP login credentials? It could be related to this https://theme.co/apex/forums/topic/content-dock-missing-in-other-language/page/2/?replyto=992623#post-1009741, but, it should be okay in content dock 2.0.

Though, I like to do some further test.

Thanks!

That indeed looks a lot like the issue at hand. I am not running the latest update yet, since updating loses all my settings (a known bug, according to other forum posts). Is there already a more stable version available?

I have added the credentials in a secure note tough

Hi there,

Unfortunately, it is no other way and you need to update the plugin to version 2.0.2. Please kindly make a backup of your website just in case.

Thank you.

Well, I just tried installing version 2.0.2 using the procedure described in the release notes…it deleted ALL my settings :unamused:
I noted everything down, upgraded to 2.0.2 and configured it manually.
But…still only showing up on a single homepage, and not on the translation of that homepage.

Hi there @dhunink,

Thanks for writing back and sorry to hear of the issues you had with the upgrade. There were setting name updates in 2.0.2 but all your settings should have automatically ported over, we’ll get that looked into.

I’ve done some testing on both your site locally and on my own. While it works when WPML is used where the page name are different, with the specific selection in the content dock admin, I can’t get it working with the multi-domain option.

I’ll make a bug report for our development team and we’ll work on getting this patched for the next release.

Thanks!

Hi Jack,

thanks. To be honest…this is the reply I was hoping for. Thanks for testing this thoroughly!
On the matter of updating from X Content Dock (1.x) to Content Dock (2.0.2): feel free to download one of the backup files from my site and forward it to the developer teams, so they have a real life example of a situation in which migration erased the settings.

You’re welcome

Hi!

It’s been a while since the issue here was noted as a bug.
On the site concerned we’ve shifted from different domain per language towards simply adding the language in the url slug. Regretfully content dock is still only working on the primary language.
Reading through @Jack s answer it sounds like he had Content Dock working with such a configuration, but I can’t.

So, how can we enable Content Dock for all languages when using WPML?

Hi @dhunink,

It seems like it’s not going to be implemented soon. But, the suggested code in this thread should still valid https://theme.co/apex/forums/topic/content-dock-missing-in-other-language/?replyto=992623. I recommend following the code structure in that thread, replacing a line with new block of code, since it’s the same line in all content dock versions then it should work.

Thanks!