开发者

Wordpress Not Publishing Posts To Custom Template

开发者 https://www.devze.com 2022-12-25 14:38 出处:网络
I am building a theme that has a lot of custom templates, like every page. Ridiculous, but for some reason the template I made for the \"postings\" page is not getting the posts? I have set the post p

I am building a theme that has a lot of custom templates, like every page. Ridiculous, but for some reason the template I made for the "postings" page is not getting the posts? I have set the post page in reading preferences, and I have set the page to use my template, but it still publishes posts to a default template. Of all the customization I built into this I did not expect the blog part to give me trouble! lol Anyone run into this kind of thing? Than开发者_运维技巧k you.


The way I usually to it is to have standard setting in reading preferences. Build my front-page in index.php Build a template for blog posts Add a page and assign the blog post template

Of course you then have a kind of placeholder page sitting amongst the other pages, don't really like that. But it works.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号