F
F
falwxey2018-08-06 11:57:08
WordPress
falwxey, 2018-08-06 11:57:08

Change output url for categories in wordpess?

Hello. There is a site on wp, with a premium theme.
I can't figure out how to customize the url output in the format:
site.ru/portfolio/sketches/ ?
now
site.ru/clapat_sqr_portfolio/sketches/
at site.ru/clapat_sqr_portfolio - 404
I assume that this path is displayed somewhere within the theme itself.
In the "permalinks" settings, when you change the output format, nothing changes, those hikes are written somewhere in the bowels of the topic.
Can you tell me which function is responsible for this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2018-08-06
@falwxey

Hello!
When the theme is activated, a custom Portfolio post type is created with the taxonomy for it clapat_sqr_portfolio. You need to look at the theme files. I won't name the function because each topic is different. Look for register_post_type() (for post type) and register_taxonomy() (for taxonomy). Start your search with function.php You can edit the template file and edit the current taxonomy, or you can create a custom post type with the portfolio taxonomy yourself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question