Important:
This support area is for Kalium 3 users only.
Support for Kalium 4 has moved to our new platform at support.laborator.co.
If you’re using Kalium 4, please create a new account there using your email and license key. A password will be sent to you automatically.
Hi,
I would like to add prefix to blog posts like this one:
domain.com/news/xyz
Not like this: domain.com/xyz
here is an example:
https://demo.kaliumtheme.com/construction/news/
https://demo.kaliumtheme.com/construction/young-architects-on-the-rise/
But I would like to show like this one:
https://demo.kaliumtheme.com/construction/news/young-architects-on-the-rise/
Hi there,
By default WordPress will apply the blog slug to every post type so to disable this you have to add a code to the functions of the child theme.
Can you try adding this code to the functions.php of the child theme:
/** * Set 'with_front' to false for the 'portfolio' post type. */ add_filter( 'register_post_type_args', function( $args, $post_type ) { if( 'portfolio' === $post_type && is_array( $args ) ) $args['rewrite']['with_front'] = false; return $args; }, 99, 2 );And then add the news under permalinks so it will be applied only in the blog posts and not the whole site.
Best regards,
Laborator Team