Home / 2016 (page 4)

Yearly Archives: 2016

How to hack WhatsApp chat history & how to protect it ?

How to hack WhatsApp chat history & how to protect it ?

Read More »

How to hack wordpress via wp-config?

How to hack wordpress via wp-config?

Read More »

How to url redirect with another url in .htaccess file?

How to url redirect with another url in .htaccess file? Copy the code and past in root folder .Htaccess  file . Redirect 302 /jewellry-photography http://www.circulatetechnology.com/ Redirect 302 /http:www.google.com http://www.circulatetechnology.com/ example like: http://www.circulatetechnology.com/jewellry-photography redirect on http://www.circulatetechnology.com and http:www.google.com it will be redirect on http://www.circulatetechnology.com  

Read More »

How to HACK Wifi Password?

Read More »

Display Product Discount/Offer percentage in bubble WooCommerce

Display Product Discount/Offer percentage in bubble WooCommerce. So what I have here is a code snippet to calculate individual product discount and display it in sale bubble. Replace all the codes in following files your theme folder/woocommerce/loop/sale-flash.php and  your theme folder/woocommerce/single-product/sale-flash.php with below code. <?php /** * Product loop sale flash …

Read More »

Compare product button in header in magento.

Compare product button in header in magento. <?php $_helper = $this->helper(‘catalog/product_compare’); $_items = $_helper->getItemCount() > 0 ? $_helper->getItemCollection() : null; ?> <div class=”com”> <strong><span><?php echo $this->__(‘Compare Products’) ?> <?php if($_helper->getItemCount() > 0): ?> <small><?php echo $this->__(‘(%d)’, $_helper->getItemCount()) ?></small> <?php endif; ?> </span></strong> <?php if($_helper->getItemCount() > 0): ?> <script type=”text/javascript”>decorateList(‘compare-items’)</script> <div …

Read More »

WooCommerce Products Custom Fields with Discount price

WooCommerce Products Custom Fields with Discount price. /***********************my custom code******************/ // Add save percent next to sale item prices. add_filter( ‘woocommerce_sale_price_html’, ‘woocommerce_custom_sales_price’, 10, 2 ); function woocommerce_custom_sales_price( $price, $product ) { $percentage = round( ( ( $product->regular_price – $product->sale_price ) / $product->regular_price ) * 100 ); echo $price . sprintf( …

Read More »

Error when reindexing Catalog URL Rewrites in magento admin

An error occurred while saving the URL rewrite magento

Error when reindexing Catalog URL Rewrites in magento admin. Follow the following steps for the reindexing Catalog URL Rewrites in magento. Open CMD or Xampp Shell Command window. see image given below[/accordion][accordion title=” Connect with database phpmyadmin MySQL.”] command is: mysql -u root -p pres enter after asked password then …

Read More »

How to Secure Your WordPress Admin to Restrict Access to Specific IP Address with HTACCESS?

How to Secure Your WordPress Admin to Restrict Access to Specific IP Address with HTACCESS?   Copy and paste the code in .htaccess file. ErrorDocument 401 /path-to-your-site/index.php?error=404 ErrorDocument 403 /path-to-your-site/index.php?error=404 <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR] RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$ RewriteCond %{REMOTE_ADDR} !^IP Address One$ RewriteCond %{REMOTE_ADDR} !^IP Address …

Read More »

How to Secure Your Magento Admin to Restrict Access to Specific IP Address with HTACCESS?

How to Secure Your Magento Admin to Restrict Access to Specific IP Address with HTACCESS? Copy the code and past in .htaccess file and change the ip with you. RewriteCond %{REQUEST_URI} ^/(index.php/)?admin/ [NC] RewriteCond %{REMOTE_ADDR} !^196.196.196.196 RewriteRule ^(.*)$ http://%{HTTP_HOST}/ [R=302,L] Example: RewriteCond %{REQUEST_URI} ^/(index.php/)?youradminname/ [NC] RewriteCond %{REMOTE_ADDR} !^ change here …

Read More »
0

January 22, 2017

Clear all