0
我无法专门检查博客模板页面(在Wordpress中调用循环的页面)。在这些设置中,我没有为主页和博客设置静态页面。我为主页提供了一个自定义模板。我希望能够检查博客模板,而不是博客单个帖子,主页或其他页面模板,因为我还有其他自定义事件正在进行。如何检查Wordpress中的博客模板
is_page_template() seems to affect other page templates.
is_home() calls my homepage
is_blog() calls my blog posts?
非常感谢帮助!
举报此链接:https://wordpress.stackexchange.com/a/156624/121298 – Oluwaseye