最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

wordpress - How to overwrite default block theme for blog posts page - Stack Overflow

programmeradmin3浏览0评论

We have a block theme and a child theme. The block editor also allows to create themes to be saved on database, not physically on the disk (on theme folder). And the theme we use seems to be created without thinking about multilingual websites.

So we are setting home and blog pages to static pages on settings > reading page. And for language specific main blog pages, we already have block templates saved to database and assigned to this blog pages, but WordPress overwrites it with parent theme's designs.

How can we force WordPress to load a specific block template on specific languages for specific pages(blog home)? We use polylang for multilingual.

发布评论

评论列表(0)

  1. 暂无评论