Support

Account

Home Forums Front-end Issues ACF – Can't get custom post type by taxonomy, no idea how to fix Reply To: ACF – Can't get custom post type by taxonomy, no idea how to fix

  • This worked in the end, thanks for the help! however not sure if this is exactly what I wanted, since the custom taxonomy isnt being treated as the default wordpress category, is there a way to make this happen? I guess it doesn’t have to really but the issue I have is with the permalink for each post.

    Basically I have two custom posts.

    A Service post type (it support,cloud, digital etc…)

    A service package (this appears on each service page, they DO NOT have the own unique pages)

    Basically the URL’s for the service packages should be.

    services/{THE_CURRENT_TAXONOMY_FIELD_VALUE}/#post_name

    But they are currently.

    service/post_name

    I tried using the overwrite rule, but obviously if I overwrite the slug so it contains the other post type, that post type will just become broken.

    Thanks for the help!