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 PHP session in wordpress?

Use PHP session in wordpress. add_action(‘init’, ‘myStartSession’, 1); function myStartSession() { if(!session_id()) { session_start(); } }   Get more information Read More Posts

Read More »

use javascript in php or how to redirect on any page in php <?php echo ‘<script LANGUAGE=”JavaScript”>window.location.href=”‘.site_url().’/loginform“;</script>’; ?>

Read More »

How to get multiple values from ajax in wordpress?

Get multiple values from ajax in wordpress. Paste this code in main file.  function single_user_data(){ var ajax = “http://wpcodekit.com/wp-admin/admin-ajax.php”;    var data = { ‘action’ : “get_single_use”, ‘ID’: user_id }

Read More »