Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -354,11 +354,12 @@ GitHub.sublime-settings

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
themes/osi/.vscode/settings.json

# Local History for Visual Studio Code
.history/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ public function get_args() {

return wp_parse_args(
[
'rewrite' => array( 'slug' => 'license-category' ),
'rewrite' => array(
'slug' => 'license-category',
'with_front' => false,
),
],
parent::get_args()
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ public function get_args() {
return wp_parse_args(
[
'hierarchical' => true,
'rewrite' => array( 'slug' => 'publication' ),
'rewrite' => array(
'slug' => 'publication',
'with_front' => false,
),

],
parent::get_args()
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ public function get_args() {
return wp_parse_args(
[
'hierarchical' => false,
'rewrite' => array( 'slug' => 'seat-type' ),
'rewrite' => array(
'slug' => 'seat-type',
'with_front' => false,
),
],
parent::get_args()
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,13 @@ public function get_post_types() {
* @return array
*/
public function get_args() {
return wp_parse_args(
[

return wp_parse_args(
array(
'hierarchical' => false,
'rewrite' => array( 'slug' => 'status' ),
],
),
parent::get_args()
);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ public function get_args() {
return wp_parse_args(
[
'hierarchical' => false,
'rewrite' => array( 'slug' => 'steward' ),
'rewrite' => array(
'slug' => 'steward',
'with_front' => false,
),
],
parent::get_args()
);
Expand Down
Loading