【发布时间】:2018-12-11 12:17:51
【问题描述】:
我正在使用出色的 Timber 模板插件构建一个 Wordpress 网站。
我也在使用 Sermon Manager 插件,它使用自己的 page templates。
我不知道如何通过 Timber 渲染 SM 页面模板。
This page 在 page.twig 模板中呈现,但单击系列标题(顶部链接)会导致一个空白页面,因为它试图在 SM 插件目录中加载 archive-wpfc_sermon.php 模板。
我想象它类似于在 Timber 中渲染 Woocommerce 页面模板,但我不知道如何适应 SM: https://timber.github.io/docs/guides/woocommerce/
任何帮助表示赞赏;)
【问题讨论】:
标签: wordpress plugins twig timber