You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: includes/admin/class-settings.php
+24-21Lines changed: 24 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -357,32 +357,36 @@ public static function settings_general() {
357
357
'type' => 'header',
358
358
),
359
359
'kb_slug' => array(
360
-
'id' => 'kb_slug',
361
-
'name' => esc_html__( 'Knowledge Base slug', 'knowledgebase' ),
362
-
'desc' => esc_html__( 'This will set the opening path of the URL of the knowledge base and is set when registering the custom post type', 'knowledgebase' ),
363
-
'type' => 'text',
364
-
'default' => 'knowledgebase',
360
+
'id' => 'kb_slug',
361
+
'name' => esc_html__( 'Knowledge Base slug', 'knowledgebase' ),
362
+
'desc' => esc_html__( 'This will set the opening path of the URL of the knowledge base and is set when registering the custom post type', 'knowledgebase' ),
'desc' => esc_html__( 'This slug forms part of the URL for product pages when Multi-Product Mode is enabled. The value is used when registering the custom taxonomy.', 'knowledgebase' ),
'desc' => esc_html__( 'This slug forms part of the URL for product pages when Multi-Product Mode is enabled. The value is used when registering the custom taxonomy.', 'knowledgebase' ),
'desc' => esc_html__( 'Each section is a section of the knowledge base. This setting is used when registering the custom section and forms a part of the URL when browsing section archives', 'knowledgebase' ),
'desc' => esc_html__( 'Each section is a section of the knowledge base. This setting is used when registering the custom section and forms a part of the URL when browsing section archives', 'knowledgebase' ),
'desc' => esc_html__( 'Each article can have multiple tags. This setting is used when registering the custom tag and forms a part of the URL when browsing tag archives', 'knowledgebase' ),
'desc' => esc_html__( 'Each article can have multiple tags. This setting is used when registering the custom tag and forms a part of the URL when browsing tag archives', 'knowledgebase' ),
387
+
'type' => 'text',
388
+
'default' => 'kb/tags',
389
+
'field_class' => 'large-text',
386
390
),
387
391
'article_permalink' => array(
388
392
'id' => 'article_permalink',
@@ -391,7 +395,6 @@ public static function settings_general() {
wp_kses_post( __( '<strong>Pro active:</strong> You can use nested structures and advanced placeholders like %s for complete control over your URLs.', 'knowledgebase' ) ),
/* translators: %1$s, %2$s, and %3$s are wrapped in <code> */
358
-
esc_html__( 'All the below slugs must be unique and not nested within each other. e.g. %1$s (Knowledge Base) and %2$s (Product) are NOT valid as the product slug is nested below the knowledgebase slug. This also applies to Sections and Tags.', 'knowledgebase' ),
371
+
/* translators: %1$s, %2$s are wrapped in <code> */
372
+
esc_html__( 'All the below slugs must be unique and not nested within each other. e.g. %1$s and %2$s are NOT valid as the product slug is nested below the KB slug.', 'knowledgebase' ),
Copy file name to clipboardExpand all lines: readme.txt
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -135,10 +135,13 @@ Fixed security issue where Knowledge Base slug in settings was not sanitized.
135
135
* Admin UI enhancements for managing products, sections, and migration.
136
136
* Setup Wizard to guide users through the initial setup process.
137
137
* New Product widget to display the Sections for a specific Product.
138
+
* (Pro) Custom Permalinks for Products, Sections, Tags and Articles.
139
+
* (Pro) Added Clear cache button and Cache expiry option in the settings page.
138
140
139
141
* Modifications:
140
142
* Standardized CSS class names to use consistent hyphenation (e.g., `wzkb_section` is now `wzkb-section`). If you have custom CSS targeting the old class names, you'll need to update your stylesheets.
141
143
* New Hooks_Registry class added to handle hooks in a more organized way and prevents accidental duplicate hooks.
0 commit comments