Skip to content

Commit

Permalink
updates events custom post type permalink structure
Browse files Browse the repository at this point in the history
  • Loading branch information
kasprzyk-sz committed Aug 7, 2023
1 parent 7ebccc9 commit 9c9d3bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wp-content/plugins/vf-events/includes/register.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ public function init_register() {
'supports' => array('title', 'editor', 'page-attributes', 'excerpt', 'revisions'),
'has_archive' => true,
'rewrite' => array(
'slug' => 'events'
'slug' => 'events',
'with_front' => false,
),
'query_var' => true,
'can_export' => true,
Expand Down

0 comments on commit 9c9d3bd

Please sign in to comment.