이 사용자는 즐겨찾는 주제가 없습니다.
즐겨찾는 포럼 주제
포럼 주제가 생성되었습니다.
상태 |
주제
|
서포터 | 목소리 | 게시물 | 선도 |
---|---|---|---|---|---|
Internal Server Error
시작한 사람: rayaA
안에: English Support
Problem: add_filter('mod_rewrite_rules', 'fix_rewritebase');<br />function fix_rewritebase($rules){<br /> $home_root = parse_url(home_url());<br /> if ( isset( $home_root['path'] ) ) {<br /> $home_root = trailingslashit($home_root['path']);<br /> } else {<br /> $home_root = '/';<br /> }<br /> <br /> $wpml_root = parse_url(get_option('home'));<br /> if ( isset( $wpml_root['path'] ) ) {<br /> $wpml_root = trailingslashit($wpml_root['path']);<br /> } else {<br /> $wpml_root = '/';<br /> }<br /> <br /> $rules = str_replace("RewriteBase $home_root", "RewriteBase $wpml_root", $rules);<br /> $rules = str_replace("RewriteRule . $home_root", "RewriteRule . $wpml_root", $rules);<br /> <br /> return $rules;<br />} 3. Re-save the permalinks from the Settings >> Permalinks page by pressing the Save Changes button. If this solution does not apply to your case, or if it seems outdated, 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 issue persists, please open a new support ticket at WPML support forum. |
0 | 3 | 22 시간, 40 분 전에 | ||
WooCommerce Email Verification to user aligned incorrectly
시작한 사람: rayaA
안에: English Support
Problem: wpml_switch_language_for_email hook to adjust the language settings for your emails. More details on this hook can be found here: https://wpml.org/wpml-hook/wpml_switch_language_for_email/ Additionally, you can modify the email template directly. Open the file at .../wp-content/plugins/wc-multivendor-membership/views/emails/email-verification.php . Replace the existing WooCommerce email header action with a new block that switches the language context based on the user's email. Here's the code you should use: // Workaround for compsupp-7719 // Workaround for compsupp-7719 // Switch language context if( apply_filters( 'wcfm_allow_wpml_email_translation', true ) ) { do_action('wpml_switch_language_for_email', $user_email); } ?> <!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo( 'charset' ); ?/>" /> <meta content="width=device-width, initial-scale=1.0" name="viewport"/> <title><?php echo get_bloginfo( 'name', 'display' ); ?></title> </head> <body <?php echo is_rtl() ? 'rightmargin' : 'leftmargin'; ?>="0" marginwidth="0" topmargin="0" marginheight="0" offset="0"> <table width="100%" id="outer_wrapper"> <tr> <td><!-- Deliberately empty to support consistent sizing and layout across multiple email clients. --></td> <td width="600"> <div id="wrapper" dir="<?php echo is_rtl() ? 'rtl' : 'ltr'; ?>"> <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%"> <tr> <td align="center" valign="top"> <div id="template_header_image"> <?php $img = get_option( 'woocommerce_email_header_image' ); if ( $img ) { echo '<p style="margin-top:0;"><img src="' . esc_url( $img ) . '" alt="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '" /></p>'; } ?> </div> <table border="0" cellpadding="0" cellspacing="0" width="100%" id="template_container"> <tr> <td align="center" valign="top"> <!-- Header --> <table border="0" cellpadding="0" cellspacing="0" width="100%" id="template_header"> <tr> <td id="header_wrapper"> <h1 style="text-align: <?php echo is_rtl() ? 'right' : 'left'; ?>"><?php echo esc_html( $email_heading ); ?></h1> </td> </tr> </table> <!-- End Header --> </td> </tr> <tr> <td align="center" valign="top"> <!-- Body --> <table border="0" cellpadding="0" cellspacing="0" width="100%" id="template_body"> <tr> <td valign="top" id="body_content"> <!-- Content --> <table border="0" cellpadding="20" cellspacing="0" width="100%"> <tr> </tr></table></td></tr></table></td></tr></table></td></tr></table></div></td></tr></table></body></html> Ensure to set the text alignment in the HTML body of the email template to respect the left or right text direction based on the language context. At the end of the file, add the following code to switch the language back: <?php // switch language back if( apply_filters( 'wcfm_allow_wpml_email_translation', true ) ) { do_action('wpml_restore_language_from_email'); } ?> If this solution does not resolve your issue or seems irrelevant due to updates or differences in your case, 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 needed, please open a new support ticket at WPML support forum for further assistance. |
3 | 9 | 2 주, 6 일 전에 | ||
Split: try to translate with CTE, it shows nothing to translate and "NaN% Complete"
시작한 사람: rayaA 안에: English Support |
2 | 9 | 1 월, 4 주 전에 | ||
Split: There are 6 versions of the template "Single Posts"
시작한 사람: rayaA
안에: English Support
Problem: If this solution does not apply to your case, or if it seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket for further assistance at WPML support forum. |
2 | 4 | 2 월, 1 주 전에 | ||
Fully translated page is blank
시작한 사람: rayaA
안에: English Support
Problem: Solution: Please note that this solution might be outdated or not applicable to your specific case. 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 continues, please do not hesitate to open a new support ticket at our support forum. |
2 | 8 | 2 월, 1 주 전에 | ||
“current-menu-item” class is missing in secondary language
시작한 사람: rayaA
안에: English Support
Problem: current-menu-item is not being appended to the menu item in the navigation block of the page that is currently being viewed in a secondary language, this might be due to incorrect post IDs in the translated menu. wp_posts table in your database for the menu ID and verifying the record. You should ensure that the post IDs match the translated IDs. Here is an example of what you might see and how to correct it: <!-- wp:navigation-link {"label":"Post A – es ","type":"post","id":66,"url":"https://your-site.com/es/2024/09/15/post-a-es/","kind":"post-type"} /--> This ID should be updated to the correct translated post ID, like so: <!-- wp:navigation-link {"label":"Post A – es ","type":"post","id":72,"url":"https://your-site.com/es/2024/09/15/post-a-es/","kind":"post-type"} /--> After making these changes, the menu should work correctly in the secondary language. If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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 you still need assistance, please open a new support ticket at WPML support forum. |
2 | 9 | 3 월 전에 | ||
Can’t access second page in translation queue
시작한 사람: rayaA
안에: English Support
Problem: UPDATE `{wpdbPrefix}_icl_translation_status` SET `status` = 1 WHERE `status` = 2; Make sure to replace {wpdbPrefix} with your table prefix. It's crucial to back up your database and website before proceeding. If you're unsure how to run the SQL query, please contact your hosting support for assistance. 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 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. |
2 | 7 | 3 월, 1 주 전에 | ||
Accidentally changed one of the original texts of string translations
시작한 사람: rayaA
안에: English Support
Problem: If this solution does not resolve the issue, or if it seems outdated or irrelevant to your current 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. Should further assistance be needed, please do not hesitate to open a new support ticket with us at WPML support forum. |
2 | 3 | 4 월, 1 주 전에 | ||
Translating “Read More” block in WordPress when using Twenty Twenty Four Gutenberg theme
시작한 사람: rayaA
안에: English Support
Problem: 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 you still need assistance, please open a new support ticket at our support forum. |
2 | 10 | 5 월, 3 주 전에 | ||
Revert back after move to WPML from Loco
시작한 사람: rayaA
안에: English Support
Problem: wp-config.php file: define('WP_MEMORY_LIMIT', '256M'); Place it just before: /* That's all, stop editing! Happy blogging. */ After updating the memory limit, verify the settings under WPML > Support > WordPress and attempt to save the translations again. Ensure that the strings in WPML > String Translation are assigned to the correct source language by following the instructions here: How to Change the Source Language of Strings. If this solution does not resolve your issue or seems outdated, please check for related known issues at WPML Known Issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If further assistance is needed, we highly recommend opening a new support ticket at WPML Support Forum. |
2 | 2 | 7 월, 1 주 전에 | ||
OTGS Installer
시작한 사람: rayaA
안에: English Support
Problem: If this solution does not seem relevant to your situation, please feel free to open a new support ticket with us. |
2 | 3 | 1 년 전에 | ||
too-few-arguments-to-function-sitepressterms_claus
시작한 사람: rayaA 안에: English Support |
2 | 2 | 1 년, 5 월 전에 | ||
Too few arguments to function SitePress::terms_clauses()
시작한 사람: rayaA 안에: English Support |
2 | 8 | 1 년, 5 월 전에 | ||
Transferring Account Renewals to my Client
시작한 사람: rayaA 안에: English Support |
2 | 5 |
1 년, 5 월 전에
rayaA |