Configuring Post Types Slug

Last Updated on

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.

In this article


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:

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

post types slug

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

post types slug

3
Click on the Save Settings button.
x
Note: You should not have the same slug in any page or other post slug and if so the pagination will respond with 404 error naturally due to the internal conflicts.

Configuring the Slug for Portfolio Post Type

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

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

post types slug

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

post types slug

3
Click 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.

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

post types slug

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

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

5
Save the file.
If you have any issues configuring the slugs, please create a ticket to get a solution from our support.
Was this helpful?
Previous Article:
Next Article:

Can't find what you're looking for?

Open New Ticket