Che cos’è un tema child WordPress

Che cos’è un tema child WordPress e come crearlo   un Tema child WordPress, di cosa stiamo parlando ? ti sei mai trovato nella situazione di aver aggiornato il tema e tutte le tue modifiche sono andate perse ? No ? beh sono contentissimo purtroppo a me tantissimo tempo fa è capitato e ho dovuto […]

Come creare Custom Post Type in WordPress

Iniziamo dalla soluzione 😎 function aeroporti_custom_post() { // creo e registro il custom post type register_post_type( ‘aeroporto’, /* nome del custom post type */ // definisco le varie etichette da mostrare nei menù array(‘labels’ => array( ‘name’ => ‘aeroporti’, /* nome, al plurale, dell’etichetta del post type. */ ‘singular_name’ => ‘aeroporto’, /* nome, al singolare, […]