Skip to content

Instantly share code, notes, and snippets.

View carlosjulian's full-sized avatar
🌴
Working

Carlos Julián carlosjulian

🌴
Working
View GitHub Profile
@carlosjulian
carlosjulian / functions.php
Created June 15, 2018 01:50 — forked from codigoconjuan/functions.php
Post Type Especialidades para La Pizzeria
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' ),
@carlosjulian
carlosjulian / breadcrumbs-functions.php
Created July 13, 2018 13:17 — forked from tinotriste/breadcrumbs-functions.php
Wordpress: Breadcrumbs function
<?php
/*=============================================
= BREADCRUMBS =
=============================================*/
// to include in functions.php
function the_breadcrumb() {
$sep = ' > ';