Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Commit

Permalink
Updated taxonomies
Browse files Browse the repository at this point in the history
Signed-off-by: Brendan Dixon <brendandixon@me.com>
  • Loading branch information
brendandixon committed Apr 5, 2018
1 parent 28f8432 commit 3fb693c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@ function thegatherings_init() {
'label' => 'Ages'
);
register_taxonomy( 'ages', array( 'articles', 'guides', 'plans', 'studies' ), $args );
wp_insert_term( 'All Adults', 'ages', array(
'description' => 'Appropriate for adults any age',
'slug' => 'all-adults'
));
wp_insert_term( 'Young Adults', 'ages', array(
'description' => 'Appropriate for adults in their 20s and 30s',
'slug' => 'young-adults'
Expand Down Expand Up @@ -300,6 +304,10 @@ function thegatherings_init() {
'label' => 'Relationship'
);
register_taxonomy( 'relationship', array( 'articles', 'guides', 'plans', 'studies' ), $args );
wp_insert_term( 'All Relationships', 'relationship', array(
'description' => 'Designed for or suited to adults in any relationship',
'slug' => 'all-relationships'
));
wp_insert_term( 'Singles', 'relationship', array(
'description' => 'Designed for or suited to single adults',
'slug' => 'singles'
Expand Down Expand Up @@ -364,6 +372,10 @@ function thegatherings_init() {
'label' => 'Vocation'
);
register_taxonomy( 'vocation', array( 'articles', 'guides', 'plans', 'studies' ), $args );
wp_insert_term( 'All Vocations', 'vocation', array(
'description' => 'Designed for or suited to adults in any vocational state',
'slug' => 'all-vocations'
));
wp_insert_term( 'College', 'vocation', array(
'description' => 'Designed for or suited to a College vocational status',
'slug' => 'college'
Expand Down
2 changes: 1 addition & 1 deletion sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: http://underscores.me/
Author: Brendan Dixon
Author URI: http://thegatherings.place/
Description: Description
Version: 1.1.1
Version: 1.1.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: thegatherings
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: http://underscores.me/
Author: Brendan Dixon
Author URI: http://thegatherings.place/
Description: Description
Version: 1.1.1
Version: 1.1.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: thegatherings
Expand Down

0 comments on commit 3fb693c

Please # to comment.