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 create plugin in wordpress?

wordpresswp-contentpluginsfirstplugin.php                                 Best Method <?php/** * Plugin Name: My First Plugin * Plugin URI: http://www.mywebsite.com/my-first-plugin * Description: The

Read More »

How to use search ajax in wordpress?

search ajax in wordpress     Use in html file  <html> <head> <style> .sec { width: 223px; height: 41px; border: 1px solid #54595f; margin-bottom:4px; } </style> <script src=”<?php echo plugin_dir_url(__FILE__);?>js/jquery.min.js”

Read More »

How to Update Custom Cart Count with AJAX in WooCommerce?

How to Update Custom Cart Count with AJAX in WooCommerce? function totalcartqty(){ ?> <div class=”header-cart-count”><?php echo WC()->cart->get_cart_contents_count(); ?></div> <?php } add_action(‘wp_head’,’totalcartqty’); add_filter( ‘woocommerce_add_to_cart_fragments’, ‘iconic_cart_count_fragments’, 10, 1 ); function iconic_cart_count_fragments( $fragments

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 »

How to create stylist table in html and css?

Popular table design with hover effect <html><head><style>.container{ margin:auto; width:80%;} .main-row{ width:20%; float:left; background-color:#f1f1f1; text-align:center; padding:10px 0px;; }.col-2{ width:20%; float:left; text-align:center; padding:10px 0px; border-bottom:1px solid #f1f1f1; } .row{  width:100%; float:left;  border-bottom:1px solid

Read More »

How to update data in database in wordpress?

<?php if(isset($_POST[“submit”])){ extract($_POST);$parametername = $_POST[‘parametersname’]; $id = 4;/***** updating user *****/ $userstable = $wpdb->prefix . “apindt_parameters”; $where = array( ‘ID’ => $id ); $wpdb->update( $userstable, array( ‘parameters_name’ => $parametersname, ‘wet’

Read More »