PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.4.0
ShopBuilder – WooCommerce Builder For Elementor v3.4.0
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
← All changes | app/Elementor/Helper/PostHelpers.php +25 -6 3.3.0 → 3.4.0 View file →
@@ -183,10 +183,10 @@
183 183 'default' => 'yes',
184 184 ];
185 185 $fields['show_short_desc'] = [
186 186 'type' => 'switch',
187 - 'label' => esc_html__( 'Show Short Description?', 'shopbuilder' ),
188 - 'description' => esc_html__( 'Switch on to show post short description.', 'shopbuilder' ),
187 + 'label' => esc_html__( 'Show Excerpt?', 'shopbuilder' ),
188 + 'description' => esc_html__( 'Switch on to show post excerpt.', 'shopbuilder' ),
189 189 'label_on' => esc_html__( 'On', 'shopbuilder' ),
190 190 'label_off' => esc_html__( 'Off', 'shopbuilder' ),
191 191 'default' => 'yes',
192 192 ];
@@ -455,9 +455,9 @@
455 455 'show_short_desc' => [ 'yes' ],
456 456 ];
457 457
458 458 $fields['post_excerpt_section'] = $obj->start_section(
459 - esc_html__( 'Short Description', 'shopbuilder' ),
459 + esc_html__( 'Excerpt', 'shopbuilder' ),
460 460 'settings',
461 461 [],
462 462 $condition
463 463 );
@@ -463,10 +463,10 @@
463 463 );
464 464
465 465 $fields['excerpt_limit'] = [
466 466 'type' => 'select2',
467 - 'label' => esc_html__( 'Short Description Limit', 'shopbuilder' ),
468 - 'description' => esc_html__( 'Please select the post short description limit.', 'shopbuilder' ),
467 + 'label' => esc_html__( 'Excerpt Limit', 'shopbuilder' ),
468 + 'description' => esc_html__( 'Please select the post excerpt limit.', 'shopbuilder' ),
469 469 'options' => [
470 470 'default' => esc_html__( 'Default', 'shopbuilder' ),
471 471 '1-line' => esc_html__( 'Show in 1 line', 'shopbuilder' ),
472 472 '2-lines' => esc_html__( 'Show in 2 lines', 'shopbuilder' ),
@@ -480,9 +480,9 @@
480 480 $fields['excerpt_limit_custom'] = [
481 481 'type' => 'number',
482 482 'label' => esc_html__( 'Custom Character Limit', 'shopbuilder' ),
483 483 'default' => 200,
484 - 'description' => esc_html__( 'Please enter the post short description character limit.', 'shopbuilder' ),
484 + 'description' => esc_html__( 'Please enter the post excerpt character limit.', 'shopbuilder' ),
485 485 'condition' => [ 'excerpt_limit' => [ 'custom' ] ],
486 486 ];
487 487
488 488 $fields['post_excerpt_section_end'] = $obj->end_section();
@@ -1143,8 +1143,18 @@
1143 1143 'border_radius' => [ $css_selectors['border_radius'] => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;' ],
1144 1144 ];
1145 1145
1146 1146 $fields = ControlHelper::general_elementor_style( 'readmore_button_style', $title, $obj, $condition, $selectors );
1147 +
1148 + // Redirect the text-decoration sub-field to `.text-wrap` (an unshielded span that wraps the label); the shield-blocked `<a>` can't reach text inside its inline-flex child.
1149 + $fields['rtsb_el_readmore_button_style_typography']['fields_options'] = [
1150 + 'text_decoration' => [
1151 + 'selectors' => [
1152 + $css_selectors['text_decoration'] => 'text-decoration: {{VALUE}};',
1153 + ],
1154 + ],
1155 + ];
1156 +
1147 1157 unset(
1148 1158 $fields['readmore_button_style_alignment'],
1149 1159 );
1150 1160 $extra_controls['readmore_button_style_border_radius'] = [
@@ -1554,8 +1564,17 @@
1554 1564
1555 1565 ];
1556 1566
1557 1567 $fields = ControlHelper::general_elementor_style( 'post_taxonomy_style', $title, $obj, [], $selectors, $conditions );
1568 +
1569 + // Force text-decoration with !important to beat the `.rtsb-elementor-container a { text-decoration: none !important; }` framework shield (see _el-global.scss).
1570 + $fields['rtsb_el_post_taxonomy_style_typography']['fields_options'] = [
1571 + 'text_decoration' => [
1572 + 'selectors' => [
1573 + $css_selectors['typography'] => 'text-decoration: {{VALUE}} !important;',
1574 + ],
1575 + ],
1576 + ];
1558 1577
1559 1578 unset(
1560 1579 $fields['post_taxonomy_style_alignment'],
1561 1580 );