This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
ATE not showing link editing for internal links
Started by: Paradigm in: English Support |
0 | 3 | 2 months, 3 weeks ago | ||
WPML translation editor
Started by: Paradigm in: English Support |
|
0 | 14 | 3 months, 2 weeks ago | |
Importing a glassary CSV has no effect
Started by: Paradigm in: English Support |
|
0 | 5 | 7 months, 2 weeks ago | |
hreflang tags not rendered on my public post with a custom post status
Started by: Paradigm
in: 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 year, 2 months ago | |
WPML chat support ticket by Vickie – 1715606838
Started by: Paradigm in: English Support |
1 | 1 |
1 year, 2 months ago
|