customization - Custom PathFolder behind a custom post type

I have not find any attempt to start yet, so the question is - is it possible to add at path behind the output of a cust

I have not find any attempt to start yet, so the question is - is it possible to add at path behind the output of a custom post type?

This means: I have a custom post type "movies" and fill it with several categories and other attributes/ratings/whatever.

Their Path will be: www.test/movies/themovie1, .../themovie2, ... and so on

What I need to add is an automatically generated page that takes input from both movies and will generate behind EACH movie, just as it was a child element of "movies" in the hierarchie:

www.test/movies/themovie1/alternatives

and even "better": www.test/movies/themovie1/vs/themovie2 and vice versa: www.test/movies/themovie2/vs/themovie1

Those have to be created automatically - I plan to create JSON files as a source for them as all the possible combinations being written into the database via insert_post would kill the database with millions of pages - I already know the architecture I need, issue is: can I create a single-movies.php that creates those sub-folders? (Possible idea: using a GET Query and have it transformed instead of ?vs=xyz?)

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744636075a4585152.html

相关推荐

  • customization - Custom PathFolder behind a custom post type

    I have not find any attempt to start yet, so the question is - is it possible to add at path behind the output of a cust

    1天前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信