Configuring Post Types Slug

Updated on November 20, 2017

URL slug is the exact address of a specific page or post on your site. In theme options you have possibilities to change the slug for some post types.

In this article we’ll describe how to configure the slug for different post types.


Configuring the Slug for News Post Type

News Slug is the text that is displayed in the URL (e.g. www.domain.com/news-posts/morbi-et-diam-massa/). As shown in the example, it is set to news-posts by default but you can change it to anything to suite your preference.

To do this please follow the steps below:

1From the WordPress left menu, go to Jupiter > Theme Options > Blog > News.

post types slug

2Change news-posts default slug in the field Slug.

post types slug

3Click on the Save Settings button.

Configuring the Slug for Portfolio Post Type

As News slug, you can also change portfolio slug for single portfolio posts.

1From the WordPress left menu, go to Jupiter > Theme Options > Portfolio > Portfolio Single Post.

post types slug

2Change portfolio-posts default slug in the field Portfolio Slug.

post types slug

3Click on the Save Settings button.

You can also change slug for Portfolio archive pages. Do this in the field Portfolio Category Slug. The default slug is portfolio_category.


Configuring the Slug for Single Employee Post Type

The default slug for single posts of Employee post type is team e.g. www.domain.com/team/adam-g-christian/

Unlike the above two options, slug for Employee post type can’t be configured via Theme Options.

In this case you’ll have to edit theme files via FTP or your hosting control panel.

1Connect to your server using some FTP client like FileZilla or go to file manager via your hosting control panel.
2Go to the directory wp-content/themes/jupiter/framework/custom-post-types.
3Open the file config.php and find the line 256.

post types slug

4Replace team slug in the code below to any text you need:

'slug' => _x('team', 'URL slug', 'mk_framework') ,

5Save the file.
If you have any issues configuring the slugs, please create a ticket to get a solution from our support.
Did this answer your question?