Dynamic fields with Contact Form 7 – WordPress plugin

1. Be sure to have jQuery script added to your theme or add it 2. Create a form with Contact Form 7 Example: 3. Create a script to hide fields Add this to some js file in your template (custom.js)    

Read More»

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»
shared on wplocker.com