תיקון תקלת ווריאציות בווקומרס
תיקון תקלת מוזרה בווריאציות ווקומרס
הצגת כל מיקומי הוידג'טים הרשומים במערכת
displays all registred Widget places global $wp_registered_sidebars; echo '<pre>'; print_r($wp_registered_sidebars); echo '</pre>'
Css לאקספלורר
Explorer Hacks Css /* IE10 + */ @supports (-ms-accelerator:true) { .people .elementor-column-wrap.elementor-element-populated{display:block !important;} } @supports (-ms-ime-align:auto) { .people .elementor-column-wrap.elementor-element-populated{display:block !important;} }
מחיקת מוצרים נלווים בווקומרס
remove related products woocomerce function gs_remove_related_products() { remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 ); } add_action( 'init', 'gs_remove_related_products', 10 );
הוספת תמיכה בסוגי קבצים אחרים למדיה MIME TYPES
הוספת תמיכה בסוגי קבצים אחרים למדיה MIME TYPES, סיומות קבצים
ביטול מחיקת טגים של אדיטור TIMCE
add_filter('tiny_mce_before_init', 'tinymce_init'); function tinymce_init( $init ) { $init['extended_valid_elements'] .= ', span[style|id|nam|class|lang]'; $init['verify_html'] = false; return $init; } אפשר טאג SPAN אפשר טאג STYLE אפשר טאג ID אפשר טאג NAM אפשר…
פתיחת שדות חדשים בטקסונומיות ללא תוסף ACF
/* * configure taxonomy custom fields */ //include the main class file require_once("tax-meta-class/Tax-meta-class.php"); /* * configure taxonomy custom fields */ $config = array( 'id' => 'demo_meta_box', // meta box id,…
סניפט הנחות בווקומרס
// The product custom field - Frontend add_action( 'woocommerce_before_add_to_cart_button', 'custom_discount_price_product_field' ); function custom_discount_price_product_field() { global $product; $curs = get_woocommerce_currency_symbol(); // Currency symbol // Get the discounted value (from product backend)…
- מעבר לעמוד הקודם
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- …
- 11
- מעבר לעמוד הבא