Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question