ผู้ใช้นี้ไม่มีหัวข้อที่ชื่นชอบ.
หัวข้อฟอรัมที่ชื่นชอบ
หัวข้อฟอรัมที่สร้าง
สถานะ |
หัวข้อ
|
ผู้สนับสนุน | เสียง | โพสต์ | ความใหม่ |
---|---|---|---|---|---|
ATE 502 error for only one page across all languages
เริ่มโดย: davidC-175 ใน: English Support |
|
2 | 15 | 1 years มาแล้ว | |
WPML creates URLs' duplicates with blank page
เริ่มโดย: davidC-175 ใน: English Support |
|
2 | 4 | 1 years, 11 months มาแล้ว | |
All pages of french language can't be loaded.
เริ่มโดย: davidC-175 ใน: English Support |
|
3 | 6 | 2 years, 4 months มาแล้ว | |
Problem with URL translation
เริ่มโดย: davidC-175 ใน: English Support |
|
3 | 6 | 2 years, 9 months มาแล้ว | |
widgets string translation not working anymore
เริ่มโดย: davidC-175 ใน: English Support |
|
2 | 14 |
2 years, 10 months มาแล้ว
davidC-175 |
|
wpml_strings_need_links_fixed entries in wp_options
1
2
เริ่มโดย: davidC-175 ใน: English Support |
|
2 | 18 | 2 years, 11 months มาแล้ว | |
Migrations between environments with WP Migrate DB Pro
เริ่มโดย: davidC-175 ใน: English Support |
|
2 | 13 | 3 years, 3 months มาแล้ว | |
Advanced Translation Editor error: Jobs could not be created in Advanced Transl
เริ่มโดย: davidC-175 ใน: English Support |
|
2 | 6 | 3 years, 4 months มาแล้ว | |
getting translated URL slug in a different language
เริ่มโดย: davidC-175
ใน: English Support
Problem: The user says that wpml_get_translated_slug hook always returns slut in default language. Here's the code that the user uses: echo apply_filters( 'wpml_get_translated_slug', get_post_field( 'post_name' ), 'page', 'en'); exit(); Solution: In this case there was a misuse use of this hook. The hook you are using (wpml_get_translated_slug) is intended to get the post-type slug translation in a specific language. But you are misusing it. You are trying to get the slug of a particular page of WordPress. A regular WordPress page doesn't have this "slug prefix" type. Its permalink consists only of the page slug itself. Let's, for example, take a custom post type with the name of 'book'. In this case, the following will consist of the permalink. post type slug = book post slug = my-book permalink = /book/my-book/ The wpml_get_translated_slug hook filters the /book/ part. WordPress's pages do not have this part. |
|
2 | 3 |
3 years, 5 months มาแล้ว
davidC-175 |