admin管理员组

文章数量:1415139

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.

本文标签: phpCreate posts inside CPT post