<?php

/*
* Creating a function to create our FAQS
*/


/// Doucment téléchargeables
/*
function custom_post_type_download()
{
  $labels = array(
    'name' => _x('Documents téléchargeables', 'Post Type General Name', 'deux-torrents'),
    'singular_name' => _x('Documents', 'Post Type Singular Name', 'deux-torrents'),
    'menu_name' => __('Documents téléchargeables', 'deux-torrents'),
    'parent_item_colon' => __('Document Parent', 'deux-torrents'),
    'all_items' => __('Tous les documents', 'deux-torrents'),
    'view_item' => __('Voir le document', 'deux-torrents'),
    'add_new_item' => __('Ajouter un nouveau document', 'deux-torrents'),
    'add_new' => __('Ajouter  une document', 'deux-torrents'),
    'edit_item' => __('Modifier document', 'deux-torrents'),
    'update_item' => __('Mettre à jour document', 'deux-torrents'),
    'search_items' => __('Rechercher un document', 'deux-torrents'),
    'not_found' => __('Non trouvé', 'deux-torrents'),
    'not_found_in_trash' => __('Non trouvée dans la corbeille', 'deux-torrents'),
  );

  $args = array(
    'label' => __('documenttelechargeable', 'deux-torrents'),
    'description' => __('Documents téléchargeables', 'deux-torrents'),
    'labels' => $labels,
    'supports' => array('title', 'editor', 'thumbnail'),
    'hierarchical' => false,
    'public' => true,
    'show_ui' => true,
    'show_in_menu' => true,
    'show_in_nav_menus' => true,
    'show_in_admin_bar' => false,
    'menu_position' => 5,
    'can_export' => true,
    'has_archive' => true,
    'exclude_from_search' => true,
    'publicly_queryable' => true,
    'capability_type' => 'post',
    'menu_icon' => 'dashicons-admin-home',
  );
  register_post_type('documentdownload', $args);

}

add_action('init', 'custom_post_type_download', 0);
*/

?>
