S
S
Sergey Tryapkin2016-04-20 15:53:16
PHP
Sergey Tryapkin, 2016-04-20 15:53:16

Slug for custom post type, how to implement nesting display?

Good afternoon!
There is such a function for creating arbitrary post types.
bEm6xBo.png
And there are categories for this entry (nested):
jfiZm9Z.png
When found directly in the entry itself, the url is displayed on top:
v0DV620.png
Actually, the question is, how to make the nesting appear in the url?
those. url like : category/sub-category/post-name
WordPress just ignores permalink settings:
XcgfSoz.png
upd: for regular WordPress posts, it works, for my posts it doesn't :(

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question