summaryrefslogtreecommitdiff
path: root/dist/taxonomy.php
diff options
context:
space:
mode:
authorMax2018-11-04 22:32:44 +0100
committerMax2018-11-04 22:32:44 +0100
commit76402a87f366838bf06f6e36a552be43dfb5641c (patch)
treeec38e2d9115dee07496edce79129461dce64dd81 /dist/taxonomy.php
parenta3e1f8c9c14edf58185f290a492d86d6d688813b (diff)
downloadfuselkoenig_de-76402a87f366838bf06f6e36a552be43dfb5641c.tar.gz
Removes dist/ folder.
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 );