Sometime we don't want to show the posts from the specific category so here is the code that help you to exclude that particular category posts from the posts. query_posts(array( 'post_type' => 'post', 'showposts' => 14, 'category__not_in' => 10, 'meta_query'...
Exclude particular category posts by query post in wordpress
How to retrieve files path dynamically from child theme wp!
From Child Theme :- Here is the way to retrieve file path like CSS , JS , Images from child theme in wordpress. <?php echo get_stylesheet_directory_uri(); ?> Example: <link href="<?php echo get_stylesheet_directory_uri(); ?>/css/your-file-name.css" rel="stylesheet"> <img src="<?php echo get_template_stylesheet_uri(); ?>/images/nstplanet.jpg" alt="Nst...
Make Phone Number Field Not Required on Checkout in WooCommerce
Sometime we don't want Phone number as required on woo-commerce checkout page so here is hook/script that works for this.. add_filter( 'woocommerce_billing_fields', 'wc_nst_filter_phone', 10, 1 ); function wc_nst_filter_phone( $address_fields ) { $address_fields['billing_phone']['required'] = false; return $address_fields; } Thanks 🙂🙏
How to check and download correct database used in your wp website ?
Here is the way to find the correct database used for your website.. Login to your website hosting and Click on File Manager. Now find the file name wp-config.php and right click on that file to view it. Now check...
How to make backup of your wp websites through cPanel
Here is the way to make backup of your wordpress website and then download from you hosting cPanel. In other word.. to make backup offline of your website. Here are few steps to follow :- Login to your cPanel hosting...
Change title “Additional Information” in woocommerce checkout page
Here is the way to change the heading title "Additional Information"of checkout page to whatever you give title. Change title “Additional Information” in woo-commerce checkout page to "Personal Information" by overriding the template file like this.. Steps:- Login to you...
How to add an Authorize Payment method to WP website
Here is the way to add and configure an Authorize.net Payment Form method to WordPress website mostly using woo-commerce plugin. Here is one of the plugin Authorize.net Payment Gateway For WooCommerce that help to add authorize payment method to website....
How to Replace Images Links/path in WordPress After Installing an SSL Certificate ?
Here is one of the way to replace images link or path in WordPress After Installing an SSL Certificate into your website. Every time when we install SSL into our wordpress website .. After successfully installing SSL .. the website...
Authorize.net : The referrer-relay response or receipt link URL is invalid
Authorize.net payment getway showing error "the referrer, relay response or receipt link URL is invalid" Here is the way to solve the "referrer, relay response or receipt link URL is invalid" this error comes while doing payment in woo-commerce etc.....
How to align text to center in Revolution slider plugin ?
Revolution slider plugin text alignment in wordpress :- Here are the steps to align text to center in revolution slider plugin. Login to wordpress and goto revolution slider setting.Edit the slider you want to align text. 3) After Click on...
Click to Chat