php - Create posts inside CPT post

In CPT Each post host multiple posts and access them with custom URL.Custom post type: serialCreate posts with serial ti

In CPT Each post host multiple posts and access them with custom URL.

Custom post type: serial

Create posts with serial title: abc, xyz, etc

Now This is what I need to create, Inside every serial (abc,xyz) I want to create posts.

Then Access theme with custom URLs

Access all serials: http://localhost/serial/

Access serial with title: http://localhost/serial/abc/

Access Episodes: http://localhost/serial/abc/episode-1 & http://localhost/serial/abc/episode-2 & http://localhost/serial/abc/episode-3

Is this possibe with wordprss?

Please guide me any soultion & recommendation will be accept. Thanks

In CPT Each post host multiple posts and access them with custom URL.

Custom post type: serial

Create posts with serial title: abc, xyz, etc

Now This is what I need to create, Inside every serial (abc,xyz) I want to create posts.

Then Access theme with custom URLs

Access all serials: http://localhost/serial/

Access serial with title: http://localhost/serial/abc/

Access Episodes: http://localhost/serial/abc/episode-1 & http://localhost/serial/abc/episode-2 & http://localhost/serial/abc/episode-3

Is this possibe with wordprss?

Please guide me any soultion & recommendation will be accept. Thanks

Share Improve this question asked Aug 21, 2019 at 6:34 F.AF.A 255 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Yes it is possible to work as above . You need to follow below points to make it work :

  1. Make custom post type name Serials.
  2. Add new custom taxonomy name serial which will be showing name of the serials
  3. Now add each episode as the post and assign the taxonomy serial name to it.

Let me know if this clears your above question.

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

相关推荐

  • php - Create posts inside CPT post

    In CPT Each post host multiple posts and access them with custom URL.Custom post type: serialCreate posts with serial ti

    4小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

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

关注微信