Thursday, 26 September 2013

Control Excerpt Length using Filters

By default, excerpt length is set to 55 words. To change excerpt length using excerpt_length filter, add the following code to functions.php file in your theme:


function new_excerpt_length($length) {
 return 20;
}
add_filter('excerpt_length', 'new_excerpt_length');

Saturday, 21 September 2013

How to take backup(project & database) from XAMPP?

We can take database backup from 

C:\xampp\mysql\data Directory

and code from 

c:\xampp\htdocs

then reinstall xampp.

How calulation total value for HTML input text?

<script> $j(document).ready(function(){ $j(":text").keyup(function(){ if (isNaN($j(this).val())) { alert(...