Scroll to top

Blog

I would like to discuss on whatever your requirement will be. Also I feel pleasure to be a part on that. So let’s just the conversation and finish this in efficient way.

How to Remove WooCommerce Breadcrumbs in WordPress?

Remove WooCommerce Breadcrumbs in WordPress add_action(‘template_redirect’, ‘remove_shop_breadcrumbs’ ); function remove_shop_breadcrumbs(){     if (is_shop())         remove_action( ‘woocommerce_before_main_content’, ‘woocommerce_breadcrumb’, 20, 0); } OR if(is_shop()){ … } // shop

Read More »

How to use WP_Query with have_posts()?

How to use WP_Query with have_posts()? global $wp_query; $original_query = $wp_query; $wp_query = null; $wp_query = new WP_Query( $args ); if ( have_posts() ) : while ( have_posts() ) :

Read More »

How to create table in database via wordpress plugin code?

 /* ++++++ Create a table +++++++*/ function create_admin_table(){global $wpdb; $create_cases_table_name = $wpdb->prefix . “jaspreetsingh”; $create_cases_table_query = “CREATE TABLE $create_cases_table_name (  ID mediumint(9) NOT NULL AUTO_INCREMENT,  name text NOT NULL,  phone

Read More »