0

I have a custom post type 'services', but the archive is false, I am using a page as services.

But now I need this slug

mydomain.com/services/taxonomy/post2

How I can link my taxonomies with Services page as parent.

It is possible?

Thank you

0

In your register_taxonomy $args list, you need to add this:

"rewrite" => array( "slug" => "services/taxonomy", "with_front" => true ),

This will prepend services to your taxonomy slug.

See here for more arguments: https://codex.wordpress.org/Function_Reference/register_taxonomy#Arguments

|improve this answer|||||
  • No problem, glad I could help. If it answered your question make sure you make it as solved! – Harry Francis Oct 30 '17 at 9:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.