Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 8 replies, has 2 voices.

Last updated by Niels 1 year, 9 months ago.

Assisted by: Osama Mersal.

Author Posts
February 28, 2023 at 3:11 am #13130613

Niels

WP event manager - show events only in default (ENG) language for every translated language

Hi there,
Tell us what you are trying to do?

I have setup this site: hidden link with WPML, default in English. I do not want the events to be translated. I would like to show on this page: hidden link at the bottom the English events.

Is there any documentation that you are following? I have asked WP Event manager and Divi already what to do. They point at WPML.

Is there a similar example that we can see? Please find the page: hidden link

Now the page load with ‘No results found’ since I do not translated the events. You will see the ENG events loading when enabling visual builder though, please find (Divi) screenshot

How can I manage to get the English events to be shown. I use this shortcode in a text (Divi) module: [events per_page=”3″ show_filters=”false”]

Do you have any suggestions?

What is the link to your site? This is the default ENG webpage: hidden link

Cheers,
Niels

Schermafbeelding 2023-02-28 om 11.07 kopiëren.jpg
February 28, 2023 at 7:33 am #13131649

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) Please go to WPML-> Settings-> Post Type Translation section, and set the events' post types to "Translatable – use translation if available or fallback to default language".

After that, please check if the default language events work as expected.

2) It's unrelated to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M');

Best regards,
Osama

February 28, 2023 at 12:21 pm #13135157

Niels

Hi Osama,

Thanks for your support!
1) I have changed it like you described, but no effect yet, please find: hidden link
2) I will increase memory limit

Cheers,

February 28, 2023 at 12:23 pm #13135211

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your update. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
– preferably to a test site where the problem has been replicated if possible –
in order to be of better help and check if some configurations might need to be changed.

Your next answer will be private, which means only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

February 28, 2023 at 11:01 pm #13140057

Niels

Hi Osama,
Thanks for your update, I have to arrange something with the customer, coming back to you asap with a private mail.

Thanks,
N.

March 1, 2023 at 7:30 am #13141871

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi N,

Please take your time, and I'll activate the private reply, which means only you and I can access it.

Best regards,
Osama

March 1, 2023 at 6:42 pm #13148209

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Niels,

Thanks for the access details. I was able to fix the issue by the following steps:

1- Duplicate one event to all languages
2- Set the events post type as "Translatable - use translation if available or fallback to default language"
3- Clear the cache and check the front end

Would you please check the page and let me know if it works correctly? (hidden link)

Best regards,
Osama

March 1, 2023 at 10:57 pm #13149659

Niels

Hi Osama,

I am happy, thanks a lot for your time and support! I followed your steps for the main site and all looks good now.

Cheers,
Niels