ผู้ใช้นี้ไม่มีหัวข้อที่ชื่นชอบ.
หัวข้อฟอรัมที่ชื่นชอบ
หัวข้อฟอรัมที่สร้าง
สถานะ |
หัวข้อ
|
ผู้สนับสนุน | เสียง | โพสต์ | ความใหม่ |
---|---|---|---|---|---|
Salient Theme Category Header Image not copied for translated pages
เริ่มโดย: anttiH-4
ใน: English Support
Problem: Solution: // Woocommerce archives. if( is_product_category() || is_product_tag() || is_product_taxonomy() ) { $subtitle = ''; $title = woocommerce_page_title(false); $cate = get_queried_object(); $t_id = (property_exists($cate, 'term_id')) ? $cate->term_id : ''; // WPML Workaround for compsupp-7882 if ( class_exists('Sitepress') ) { $default_lang = apply_filters('wpml_default_language', NULL ); $t_id = apply_filters( 'wpml_object_id', $t_id, $cate->taxonomy, TRUE, $default_lang ); } $product_terms = get_option( "taxonomy_$t_id" ); $bg 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 further assistance is needed, please open a new support ticket at WPML support forum. |
|
0 | 18 | 4 months, 1 weeks มาแล้ว |