このユーザーにはお気に入りのトピックがありません。
お気に入りのフォーラムトピック
作成したフォーラムトピック
ステータス |
トピック
|
サポーター | 声 | 投稿 | 新着度 |
---|---|---|---|---|---|
ATE not showing link editing for internal links
開始者:Paradigm カテゴリ:English Support |
0 | 3 | 2ヶ月、 3週前 | ||
WPML translation editor
開始者:Paradigm カテゴリ:English Support |
|
0 | 14 | 3ヶ月、 2週前 | |
Importing a glassary CSV has no effect
開始者:Paradigm カテゴリ:English Support |
|
0 | 5 | 7ヶ月、 2週前 | |
hreflang tags not rendered on my public post with a custom post status
開始者:Paradigm
カテゴリ:English Support
Problem: /**<br /> * Fix post status issue for WPML hreflangs.<br /> * <br /> * @link wpmlsupp-11719<br /> */<br />add_filter('wpml_head_langs', function($args){<br /> $change_post_status = function( $post_status ) {<br /> //Change dormant to actual custom post status.<br /> if ($post_status === 'dormant') {<br /> return 'publish';<br /> }<br /><br /> return $post_status;<br /> };<br /><br /> add_filter('get_post_status', $change_post_status);<br /><br /> add_filter('wpml_hreflangs', function($args) use ($change_post_status){<br /> remove_filter('get_post_status', $change_post_status);<br /> return $args;<br /> });<br /><br /> return $args;<br />}); After implementing this code, please verify if the hreflang tags are correctly rendering for your posts. If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related 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. |
|
2 | 6 | 1年、 2ヶ月前 | |
WPML chat support ticket by Vickie – 1715606838
開始者:Paradigm カテゴリ:English Support |
1 | 1 |
1年、 2ヶ月前
|