This thread is resolved. Here is a description of the problem and solution.
Problem:
The client wanted to fix the position of the language switcher in the menu to ensure it stays at a fixed distance from the Instagram icon on every translated page. Additionally, the client's blog page was not appearing on the translated pages.
Solution:
1. To fix the position of the language switcher, we suggested custom coding, which is beyond our support scope. This could involve setting a minimum width for the menu. Alternatively, we recommended placing the language switcher next to the Instagram icon using PHP and shortcodes, following the steps in our guide: Adding language switchers using PHP and shortcodes.
2. To address the blog page not appearing in translated versions, we advised ensuring that the Blog page and its posts are translated and published in the secondary languages.
3. We also recommended increasing the WordPress memory limit to at least 128MB, as per our minimum requirements: WPML minimum requirements. The client can add the following code to the
wp-config.php
file:
/* Memory Limit */<br />define('WP_MEMORY_LIMIT', '256M');
- This code should be placed above the line /* That's all, stop editing! Happy blogging. */
The WordPress memory limit can be verified in WPML -> Support.
If the provided solution does not apply or is outdated, or if you encounter further issues, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket with us.
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 3 replies, has 2 voices.
Last updated by 10 months, 2 weeks ago.
Assisted by: Carlos Rojas.