This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A very simple class for some basic Date operations | |
* @author Felipe Lavín <www.yukei.net> | |
*/ | |
var dateHelper = { | |
arrToDate : function(arr, format){ | |
/** | |
* Convert an array to a Date object | |
* @argument arr {Array} An array containing at least day-month-year | |
* @argument format {String} An string representation of the date format. Default: dd-mm-yyyy. More could be added as necessary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'init', 'lapizzeria_especialidades' ); | |
function lapizzeria_especialidades() { | |
$labels = array( | |
'name' => _x( 'Pizzas', 'lapizzeria' ), | |
'singular_name' => _x( 'Pizzas', 'post type singular name', 'lapizzeria' ), | |
'menu_name' => _x( 'Pizzas', 'admin menu', 'lapizzeria' ), | |
'name_admin_bar' => _x( 'Pizzas', 'add new on admin bar', 'lapizzeria' ), | |
'add_new' => _x( 'Add New', 'book', 'lapizzeria' ), | |
'add_new_item' => __( 'Add New Pizza', 'lapizzeria' ), |