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 fetch data from database in wordpress?

<table border=”1″> <tr> <th>Name</th> <th>Phone no.</th> <th>city</th> </tr> <tr> <?php global $wpdb; $result = $wpdb->get_results ( “SELECT * FROM myTable” ); foreach ( $result as $print ) { echo ‘<td>’

Read More »

How to create print button function?

<html><body> <p>Click the this button for printing</p> <button onclick=”myFunction()”>Print this page</button> <script>function myFunction() {  window.print();}</script> </body></html>                   or <button onClick=”window.print()”>Print this page</button>

Read More »

How to exchange related products with full description in woocommerce?

 exchange related products with full description in woocommerce add_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_related_products’, 2 ); remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_related_products’, 20 ); 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 align center div in div in html ?

How to align center div in div in html ? <html> <head> <style> .outer{ width: 100%; height: 100vh; background:red; } .container{ width: 35%; height: 60vh; background:blue; position: absolute; top:0; bottom:

Read More »