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 7 replies, has 2 voices.

Last updated by Mohamed Sayed 1 year, 3 months ago.

Assisted by: Mohamed Sayed.

Author Posts
February 17, 2024 at 10:33 pm #15314259

fatihT-5

Hello. I just saw that some of my pages without any parent page have "Optional" in the breadcrumb.

For example these pages don't have it: hidden link
hidden link

But these have: hidden link
hidden link
hidden link

Any idea about why some of them have and some don't?

February 19, 2024 at 1:39 pm #15318663

Mohamed Sayed

Hi there,
Thanks for contacting WPML support.

First of all, sorry for the late reply due to a higher workload.

1. To ensure the quickest and most accurate support, please provide your debug information so that I can get a look at some of your configurations. You can find it in WPML > Support > click on “Debug information” link. Please check this link for more info: http://wpml.org/faq/provide-debug-information-faster-support/

2. Could you please tell me how the breadcrumbs are created? By theme or another plugin?

3. I see that the page is cached with Litespeed, please clear the cache memory and check if you still see the same issue.

Kind regards,
Mohamed

February 19, 2024 at 2:07 pm #15318794

fatihT-5

I've provided them.

February 19, 2024 at 6:27 pm #15319873

Mohamed Sayed

Hi,

1. Please increase the WordPress Memory Limit. According to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. Minimum requirements for WPML is 128Mb. (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' );

2. Kindly create a full backup then switch temporarily to the parent Avada theme and check if the issue persists.

February 19, 2024 at 6:36 pm #15319887

fatihT-5

Alright, I've increased the memory limit to 256M and temporarily switched to parent Avada theme too, but "Optional" text is still there.

But I don't understand what these has to do with the "Optional" text appearing in the breadcrumb.

February 19, 2024 at 7:44 pm #15319978

Mohamed Sayed

I checked the "Optional" text link and found that it's a translation priority term (https://wpml.org/documentation/translating-your-contents/adding-priority-to-your-translations/).

If you are not using the translation priorities and do not need them, you can try to delete the Optional term and see if it helps. Please make sure that you have a full backup first.

You can access the translation priorities page by editing any of those pages in the default language and then clicking the "edit terms" link in the Language box.

Screenshot_684.png
February 19, 2024 at 9:08 pm #15320122

fatihT-5

Yes, I've removed these terms from panel and they are gone. But what if I still want to keep priorities but don't want them to appear in breadcrumb?

They only appear on pages without any parent.

February 21, 2024 at 12:40 pm #15327894

Mohamed Sayed

Hi,

I made more tests and consulted our developers about it, this is expected when the option to show the categories/terms on breadcrumbs is enabled in the Avada Global settings since translation priority is a taxonomy too.

Kindly go to Avada > Options > Breadcrumbs, and disable the "Post Categories/Terms on Breadcrumbs" and the translation priority terms should be removed.

Please check it and let us know your feedback.

image (3).png