У этого пользователя нет избранных тем.
Избранные темы форума
Созданные темы форума
| Статус |
Тема
|
Специалист поддержки | Голоса | Сообщения | Свежесть |
|---|---|---|---|---|---|
|
Update incomplete
Начато: denyD в: Chat Support |
|
0 | 2 | 2 месяца назад | |
|
Redirect client side
Начато: denyD в: Chat Support |
|
1 | 2 | 8 месяцев назад | |
|
Client side redirect
Начато: denyD в: Chat Support |
|
1 | 2 | 8 месяцев назад | |
|
Error when i’m tryng to edit a course content with elementor
Начато: denyD
в: English Support
Problem: functions.php file for any custom functions that might be affecting the URLs of your courses. Specifically, look for a function that modifies the course links based on the language. Here is an example of such a function that could cause issues: function change_link_corsi( $permalink, $post ) {<br /> if ( $post->post_type === 'sfwd-courses' ) {<br /> $resource_terms = get_the_terms( $post, 'ld_course_category' );<br /> $term_slug = '';<br /><br /> // Get the current language code<br /> $language_code = apply_filters( 'wpml_current_language', null );<br /><br /> // Dynamically retrieve the slug for the current language<br /> $default_slug = 'i-nostri-corsi'; // Default slug in the primary language<br /> $translated_slug = apply_filters( 'wpml_get_translated_slug', $default_slug, 'sfwd-courses', $language_code, 'post' );<br /><br /> // Fallback to default slug if translation is missing<br /> $translated_slug = $translated_slug ?: $default_slug;<br /><br /> if ( ! empty( $resource_terms ) ) {<br /> foreach ( $resource_terms as $term ) {<br /> if ( $term->slug === 'featured' ) {<br /> continue;<br /> }<br /> $term_slug = $term->slug;<br /> break;<br /> }<br /> }<br /><br /> // Build the final permalink<br /> $permalink = trailingslashit( get_home_url() ) . $translated_slug . '/' . ( $term_slug ? $term_slug . '/' : '' ) + $post->post_name;<br /> }<br /> return $permalink;<br />}<br />add_filter( 'post_type_link', 'change_link_corsi', 10, 2 );Try commenting out or adjusting this function and see if Elementor loads correctly. If this solution does not resolve your issue or seems irrelevant due to updates or differences in your setup, 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 problem persists, please open a new support ticket. |
|
0 | 16 | 10 месяцев назад | |
|
Lerndash courses
Начато: denyD в: Chat Support |
|
0 | 2 | 10 месяцев, 1 неделя назад | |
|
Can’t see Learndash courses in english
Начато: denyD
в: English Support
Problem: If these steps do not resolve your issue, or if the solution seems outdated or irrelevant to your specific case, we recommend opening a new support ticket. Additionally, 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. For further assistance, visit our support forum. |
|
2 | 42 | 1 год назад | |
|
Can't see Learndash courses in english language
Начато: denyD в: Chat Support |
|
1 | 2 | 1 год, 1 месяц назад | |
|
English homepage disappear when edit the main italian one
Начато: denyD в: English Support |
|
1 | 1 |
1 год, 1 месяц назад
|
|
|
WPML Learndash course page not visible
Начато: denyD в: Chat Support |
|
1 | 2 |
1 год, 1 месяц назад
|