<?php

require_once "swiper-class.php";

function laniakea_custom_post_type()
{

    global $pagenow;

    //PORTFOLIO

    register_post_type(
        'laniakea_portfolio',
        array(
            'labels'      => array(
                'name'          => __('Portfolio', 'laniakea'),
                'singular_name' => __('Portfolio', 'laniakea'),
                'add_new' => __('Aggiungi nuovo', 'laniakea'),
                'add_new_item' => __('Aggiungi nuovo Portfolio', 'laniakea'),
                'edit_item' => __('Modifica Portfolio', 'laniakea'),
                'view_item' => __('Vedi Portfolio', 'laniakea'),
                'all_items' => __('Tutti i Portfolio', 'laniakea'),
                'not_found' => __('Nessun Portfolio', 'laniakea'),

            ),
            'public'      => true,
            'has_archive' => true,
            'supports' => array('title', 'editor', 'thumbnail', 'revisions',),
            'taxonomies'  => array('category'),
        )
    );


}

add_action('init', 'laniakea_custom_post_type');

