This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
WPML redirects from post URL to attachment page URL when they share a slug
Started by: danielI-23
in: English Support
Problem: wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/class-wpml-404-guess.php . Change the method \WPML_404_Guess::order_by_type_and_language_snippet from: $order_by .= ' , ' . $this->order_by_post_type_snippet(); to: $post_order = $this->order_by_post_type_snippet();<br />$orderclone = $order_by;<br />$order_by = $post_order . ' , ' . $orderclone; Please test this on a staging site as it may affect translations. If this solution does not resolve your issue or seems outdated, we 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 further assistance is needed, please open a new support ticket at WPML support forum. |
|
0 | 2 | 2 months, 1 week ago | |
Elementor forced for translations
Started by: danielI-23
in: English Support
Problem: The client's site homepage is designed with Elementor for the Croatian version, which is the default language. For the English translation, the client wants to use the WordPress block editor. Despite setting the translation editor to 'WordPress Editor', Elementor is being forced on the English translation, causing a broken layout. Solution: 1) Trash the English Homepage Alternatively, add the following code to your functions.php file, replacing '123' with the correct translated post ID: function compsupp7735_remove_elementor_edit_mode($meta_id, $object_id, $meta_key, $_meta_value) { // Define the specific post ID to check. $target_post_id = 123; // Replace 123 with the correct post ID. // Check if this is the specific post. if ($object_id === $target_post_id) { // Delete the specific meta field. delete_post_meta($object_id, '_elementor_edit_mode', null); } } add_action('updated_post_meta', 'compsupp7735_remove_elementor_edit_mode', PHP_INT_MAX, 4); 3) Resave the translation in the WordPress editor If this solution does not resolve your issue or seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if needed. |
|
0 | 11 | 3 months, 3 weeks ago | |
Language meta box shown above Publish meta box
Started by: danielI-23
in: English Support
Problem: Solution: If this solution does not apply to your situation, or if it seems outdated, please check the related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If you still need assistance, we highly recommend opening a new support ticket at WPML support forum. |
|
0 | 2 | 4 months ago | |
How to set up WPML in a situation where I don't need the same pages
Started by: danielI-23 in: English Support |
|
3 | 4 | 3 years, 11 months ago |