summaryrefslogtreecommitdiff
path: root/dist/taxonomy.php
diff options
context:
space:
mode:
Diffstat (limited to 'dist/taxonomy.php')
-rw-r--r--dist/taxonomy.php54
1 files changed, 0 insertions, 54 deletions
diff --git a/dist/taxonomy.php b/dist/taxonomy.php
deleted file mode 100644
index 0c65806..0000000
--- a/dist/taxonomy.php
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php
-/*
-if ( !defined("ABSPATH") ) {
- exit;
-}
-*/
-
-function create_taxonomy_brennerei() {
- // create a new taxonomy
- register_taxonomy(
- 'brennerei',
- 'post',
- array(
- 'label' => __( 'Hersteller' ),
- 'hierarchical' => false,
- 'rewrite' => array( 'slug' => 'brennerei' ),
-/*
- 'capabilities' => array(
- 'assign_terms' => 'edit_guides',
- 'edit_terms' => 'publish_guides'
- )
-*/
- )
- );
-}
-add_action( 'init', 'create_taxonomy_brennerei', 0 );
-
-function create_taxonomy_whiskyregion() {
- // create a new taxonomy
- register_taxonomy(
- 'region',
- 'post',
- array(
- 'label' => __( 'Whiskyregion' ),
- 'hierarchical' => false,
- 'rewrite' => array( 'slug' => 'region' ),
- )
- );
-}
-add_action( 'init', 'create_taxonomy_whiskyregion', 0 );
-
-function create_taxonomy_sponsor() {
- // create a new taxonomy
- register_taxonomy(
- 'sponsor',
- 'post',
- array(
- 'label' => __( 'Sponsored By' ),
- 'hierarchical' => false,
- 'rewrite' => array( 'slug' => 'sponsored' ),
- )
- );
-}
-add_action( 'init', 'create_taxonomy_sponsor', 0 );