• For my custom post type,i had set the ‘hierarchical’ to true for my url to be like “example.com/custom/parent/child/“.But there is this part in the wordpress codex.

    Note: this parameter was planned for Pages. Be careful, when choosing it for your custom post type – if you are planning to have many entries (say – over 100), you will run into memory issue. With this parameter set to true WordPress will fetch all entries of that particular post type, together with all meta data, on each administration page load for your post type.

    Does this means that its better not to set it to true,if i will have alot of child pages?And if i dont use the hierarchical,how should i make the url to be like the one above?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘URL structure for custom post type’ is closed to new replies.