I use the code to get a custom CPT-onomy Archive Page with the add_rewrite_rule and &cpt_onomy_archive=1 describe here to get url like that http://mywebsite.com/movies/actors/tom-hanks/
Its working when I go it manually. But how can I do to get this url?
Because with the get_terms I don’t have the custom post type “movies”…
If I want to list the actors of steven-spielberg which function can I use to get a list like that with this permalink :
I will need something like that I think:
$actors = get_terms( ‘actors’, ‘movies’, orderby=count&hide_empty=0′ )
$result = get_terms( cpt-onomy, custom-post-type, query )
Maybe there is already another solution