Monthly Archives: September 2011

Formating Date at java

String pattern = “yyyy-MM-dd HH:mm:ss”; SimpleDateFormat format = new SimpleDateFormat(pattern); // formatting String current_date= format.format(new Date()); Advertisements

Posted in Uncategorized

how to insert any short code into template in wordpress

Inserting a gallery into a template You can insert any shortcode for any plugin into a template using the following (enclosed in standard PHP tags): echo do_shortcode(‘[shortcode option1=”value1″ option2=”value2″]’);

Posted in wordpress