Support SVG images in WordPress by custom code

Here’s a code snippet that you can use to add support for SVG images in WordPress: function add_svg_support( $mimes ) { $mimes[‘svg’] = ‘image/svg+xml’; return $mimes; } add_filter( ‘upload_mimes’, ‘add_svg_support’ ); This code adds the SVG MIME type to the list of allowed file types in WordPress. You can add this code to your theme’s…

How to change woocommerce add to cart text by custom code?

To change the “Add to Cart” text on a single product page in WooCommerce, you can use the following code snippet in your theme’s functions.php file or in a custom plugin: add_filter( ‘woocommerce_product_single_add_to_cart_text’, ‘woo_custom_cart_button_text’ ); function woo_custom_cart_button_text() { return __( ‘My Custom Text’, ‘woocommerce’ ); } This code uses the ‘woocommerce_product_single_add_to_cart_text’ filter to change the…

10 Best WordPress Ecommerce Theme

These are the best eCommerce WordPress themes for selling anything that we have handpicked. Using WooCommerce, you can easily build a mobile-friendly eCommerce website. You can also customize them to meet your branding regulations. You will never need to search for another list of mobile-friendly themes again! You can sell fashion, furniture, apparel, technology, home…

3D ROTATING IMAGE GALLERY USING ELEMENTOR PRO | WORDPRESS IMAGE GALLERY
|

3D ROTATING IMAGE GALLERY USING ELEMENTOR PRO | WORDPRESS IMAGE GALLERY

3D Image Slider JS <script src=”https://code.jquery.com/jquery-3.6.0.min.js”></script> <script> var $ = jQuery $(document).ready(function(){ var className = ‘myGallery’, //CLASSNAME span = $(‘.’ + className + ‘ .elementor-widget-image’), len = span.length span.each(function(i){ $(this).css(‘transform’, ‘rotateY(‘ + i*360/len + ‘deg) translateZ(calc(‘ + ((len + 1) * 31 + len*1) + ‘px))’) }) $(‘.’ + className + ”).parent().addClass(‘myGalleryParent’) }) </script> 3D…

10 Best plugins for WordPress website speed optimize
|

10 Best plugins for WordPress website speed optimize

What is Page Speed? Page speed is often confused with “site speed”, which is actually the page speed of a preview of pages on a site. Page speed can be described as ‘page load time’ (the time it takes to display the entire content of a particular page) or ‘first byte time’ (the time the…

Some special plugins

Some special plugins

01. Download Monitor 02. Forget about shortcode buttons 03. wp-content copy protection and No right click 04. WPS Hide Login 05. WordPress social tools related content, Monetization Shareaholic 06. Real-time find and replace 07. Duplicate post 08. Post type order 09. Wp user Avatar 10. Smart Slider 3 11. Grow Social by Mediavine 12. WP…