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 11 Answer
Reset to default -1In 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.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742354056a4428086.html
评论列表(0条)