Category id in product

Open catalog/controler/product/product.php Find first Add after it Open catalog/view/theme/*/template/procuct/product.php Add this wherever you want

Read More»

Division by zero in weight.php

PHP Warning: Division by zero in ******\PHP\htdocs\online\system\library\weight.php on line 38 right code: public function convert($value, $from, $to) { if ($from == $to) { return $value; } if (isset($this->weights[$from])) { $from = $this->weights[$from]['value']; } else { $from = 0; } if (isset($this->weights[$to])) { $to = $this->weights[$to]['value']; } else { $to = 0; } if($from == 0){ [...]

Read More»

Moving WordPress

Moving a WordPress Site from a Subdirectory to the Root This is a straightforward method that will allow you to keep your WordPress install in a subdirectory and use your root domain’s URL. 1. Back Up Your Site It’s a good idea to have a backup, just in case anything goes wrong. This includes your [...]

Read More»

Equal height of columns

Html: CSS: Code from: http://www.digitalskydesign.com/equal-height-columns-using-only-css/

Read More»

Create sortable portfolio in WordPress

1. Download filterable.js and upload it to your_theme/js directory. Download filterable.js 2. Open your theme’s function.php and add this code 3. Create new template file (for example: portfolio-tempalte.php) with this code and upload it to your theme directory 4. Optional add this css to style.css or style it by yourself   Code from Tutplus

Read More»
shared on wplocker.com