For a better experience please change your browser to CHROME, FIREFOX, OPERA or Internet Explorer.
List your Store
WordPress Code to Add something on the product page in particular category

WordPress Code to Add something on the product page in particular category

WordPress Code to place something on the product page in particular category Here I want to place a button in the product page of a category name  ‘tutu-sets’ then my code will be as follows: To add button at product content: add_filter( ‘the_content’, ‘add_button_to_product_content’, 20, 1 ); function add_button_to_product_content( $content ) { global $post; if […] Read More

Woocommerce Code to Add something on Shop Page

Woocommerce Code to Add something on Shop Page

Woocommerce Code to Add something on Shop Page By Using this code you can place anything on the shop page of woocommerce before loop. Here I want to show my Revolution slider on the shop page before the products. The code for that is: add_action(‘woocommerce_before_shop_loop’,’rev_slider_in_shop’);  //before the products  we are making a function rev_slider_in_shop function […] Read More

WordPress Code for Setting a minimum order amount for checkout

WordPress Code for Setting a minimum order amount for checkout

Set a minimum order amount for checkout   add_action( ‘woocommerce_checkout_process’, ‘wc_minimum_order_amount’ ); add_action( ‘woocommerce_before_cart’ , ‘wc_minimum_order_amount’ ); function wc_minimum_order_amount() { // Set this variable to specify a minimum order value $minimum = 70;  //Cart Amount should have minimum amount of 70 then only it proceeds to checkout $subtotas =WC()->cart->subtotal; $current_shipping_cost = WC()->cart->get_cart_shipping_total(); $subss =$totas – […] Read More

How to get values of an Array inside another array using php

How to get values of an Array inside another array using php

Array is $store_info= Array ( [phone] => +918886330242 [address] => Array ( [street_1] => Plot no 19, Dr. Sundaraiah Colony, [street_2] => Picket, Secunderabad [city] => Hyderabad [zip] => 500003 [country] => IN [state] => TS ) [location] => [banner] => 8361 [icon] => 0 [gravatar] => 0 [show_more_ptab] => yes [store_ppp] => 10 [enable_tnc] […] Read More

Conditional free shipping based on shipping class and minimal amount in Woocommerce

Conditional free shipping based on shipping class and minimal amount in Woocommerce

 To make it work first you will need: – To add a “Free” shipping class (first), – To enable 2 shipping methods: “Free shipping” and “Flat rate”, – In your products with Free shipping will need to be set with the shipping class “Free”, – In your other product will not have any defined shipping class. 1) For […] Read More

How To Unlock Too Many Failed Login Attempts for WordPress

Getting locked out of your WordPress website by the dreaded ‘too many failed login attempts’ error message, is one of the most annoying things ever. It’s the last thing you want to be dealing when you are working on your WordPress website, whether it be maintaining it or adding fresh content. In this tutorial I […] Read More

Getting started with the REST API

Generate Keys To start using REST API, you first need to generate API keys. Go to WooCommerce > Settings > Advanced Go to the REST API tab and click Add key. Give the key a description for your own reference, choose a user with access to orders etc, and give the key read/write permissions. Click Generate api key. Your keys will be […] Read More

How to Display Different Sidebar for Each Post and Page in WordPress

Do you want to display different sidebars for different posts and pages on your WordPress site? Typically, WordPress themes show the same sidebars on fixed locations regardless of which post or page you’re on. In this article, we will show you how to create and display different sidebars for each post and pages in WordPress. […] Read More

How to Increase the Maximum File Upload Size in WordPress

How to Increase the Maximum File Upload Size in WordPress

Introduction WordPress comes with its own media uploader. It makes uploading files to a blog an easy task – there is no need to deal with FTP clients or File Managers. All media files you want to have on your blog can be easily uploaded by clicking just a few buttons. However, it’s worth to […] Read More

How can I see the exact version of WordPress?

There are few ways to see the version of your WordPress application: WordPress Dashboard Right after you access your WordPress administrative area, you will find your WordPress version in the At a Glance admin widget. Through the version.php file You can open the wp-includes/version.php file with your cPanel’s File Manager and the WordPress version will be listed under the $wp_version line. Using […] Read More

Top