code

oplossingen voor wordpress

copy paste and use

Migration increase file upload size
				
					<p>https://convertlive.com/u/convert/gigabytes/to/bytes#2<br />
https://www.youtube.com/watch?v=FflLEztZ3Ig</p>

				
			
Add Woocommerce Variable Product Description to cart and checkout
This will need to go into your functions.php file and be sure its added in a child-theme so when updating your theme you don’t loose the filter.
				
					<p>function cart_item_product_description( $item_name, $cart_item, $cart_item_key ) {<br />
if ( ! is_checkout() ) {<br />
if( $cart_item['variation_id'] &gt; 0 ) {<br />
$description = $cart_item['data']-&gt;get_description(); // variation description<br />
} else {<br />
$description = $cart_item['data']-&gt;get_short_description(); // product short description (for others)<br />
}</p>
<p>if ( ! empty($description) ) {<br />
return $item_name . '&lt;br&gt;&lt;div class="description"&gt;<br />
&lt;b&gt;&lt;br&gt;' . __( 'Description', 'woocommerce' ) . ':&lt;/b&gt;&lt;/br&gt; '. $description . '<br />
&lt;/div&gt;';<br />
}<br />
}<br />
return $item_name;<br />
}</p>
<p>add_filter( 'woocommerce_checkout_cart_item_quantity', 'cart_item_checkout_product_description', 20, 3);<br />
function cart_item_checkout_product_description( $item_quantity, $cart_item, $cart_item_key ) {<br />
if( $cart_item['variation_id'] &gt; 0 ) {<br />
$description = $cart_item['data']-&gt;get_description(); // variation description<br />
} else {<br />
$description = $cart_item['data']-&gt;get_short_description(); // product short description (for others)<br />
}</p>
<p>if ( ! empty($description) ) {<br />
return $item_quantity . '&lt;br&gt;&lt;div class="description"&gt;<br />
&lt;br&gt;&lt;strong&gt;' . __( 'Description', 'woocommerce' ) . ':&lt;/br&gt;&lt;/strong&gt; '. $description . '<br />
&lt;/div&gt;';<br />
}</p>
<p>return $item_quantity;</p>

				
			
Fix FAUC
Add to Child Theme Functions.php
				
					<p>*/ Change insert_template_id with the actual template id / *<br />
add_action( 'wp_enqueue_scripts', function() {<br />
if ( ! class_exists( '\Elementor\Core\Files\CSS\Post' ) ) {<br />
return;<br />
}<br />
$template_id = insert_template_id;<br />
$css_file = new \Elementor\Core\Files\CSS\Post( $template_id );<br />
$css_file-&gt;enqueue();<br />
}, 500 );</p>

				
			
icon / icon widget outline
				
					<p>selector .elementor-icon {<br />
color: currentColor;<br />
-webkit-text-fill-color: transparent;<br />
-webkit-text-stroke-width: 1px;<br />
-webkit-text-stroke-color: currentColor;<br />
text-align: center;<br />
}</p>

				
			
smooth transition caroussel
smooth transition caroussel
				
					<p>selector .swiper-wrapper{</p>
<p>-webkit-transition-timing-function: linear !important;<br />
transition-timing-function: linear !important;</p>
<p>}</p>

				
			
scale on hover
scale on hover css
				
					<p><strong>select:hover { </strong><strong>transition: all .33s ease-in-out; transform: scale(1.03); cursor: pointer; z-index: 1; } select{ transition: .6s ease; }</strong></p>