admin管理员组文章数量:1391017
there!
Let's assume that we have 2 posts (Post A, Post B). They already exist and located like following example/post-a
Now I want to create 2 separate parent pages like cat1 and cat2.
How can I rearrange posts and get something like that:
- Post A: example/cat1/post-a
- Post B: example/cat2/post-b
And when I open example/cat1 I want to have list of post from cat1.
there!
Let's assume that we have 2 posts (Post A, Post B). They already exist and located like following example/post-a
Now I want to create 2 separate parent pages like cat1 and cat2.
How can I rearrange posts and get something like that:
- Post A: example/cat1/post-a
- Post B: example/cat2/post-b
And when I open example/cat1 I want to have list of post from cat1.
Share Improve this question edited Apr 6, 2020 at 23:34 Tom J Nowell♦ 61.1k7 gold badges79 silver badges148 bronze badges asked Apr 6, 2020 at 23:13 Marta KheeMarta Khee 111 bronze badge 1 |1 Answer
Reset to default 0As per your requirement, Just create two categories like cat1 and cat2. After that, you can assign categories from the Post A and Post B.
Then Wordpress creates the default URL Like this:
Post A: example/cat1/post-a Post B: example/cat2/post-b
本文标签: customizationMove first half of posts to one parent pagesecond half to the other page
版权声明:本文标题:customization - Move first half of posts to one parent page, second half to the other page 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744590654a2614470.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
category.php
? What's the problem that this solves? – Tom J Nowell ♦ Commented Apr 6, 2020 at 23:34