admin管理员组

文章数量:1333451

We use the posts feature on our website for News. There is a News listing and you click on a headline to go to a specific news item (ie post). Now we want to add a blog and we want to use posts for this as well.

I copied the template for the news page (list page), renamed it Blog and have separated the news posts from the blog posts by use of categories. So far so good. Now I want to change some things on the actual post/blog page (ie. the specific blog page). I guess this is single.php.

My questions: 1. How do I create a copy of the "news post page" for the "blog post page"? 2. How do I select the specific template when I write a blog post?

Thanks! J

We use the posts feature on our website for News. There is a News listing and you click on a headline to go to a specific news item (ie post). Now we want to add a blog and we want to use posts for this as well.

I copied the template for the news page (list page), renamed it Blog and have separated the news posts from the blog posts by use of categories. So far so good. Now I want to change some things on the actual post/blog page (ie. the specific blog page). I guess this is single.php.

My questions: 1. How do I create a copy of the "news post page" for the "blog post page"? 2. How do I select the specific template when I write a blog post?

Thanks! J

Share Improve this question asked Jun 12, 2020 at 11:16 JayHJayH 1
Add a comment  | 

1 Answer 1

Reset to default -1

In wordpress you have freedom to make multiple single.php templates. Just use some tutorials for how to change single.php for custom post types. If need any editing, Let me know.

本文标签: custom post typesTwo blogs on same WP website