【问题标题】:How do I use co-authors plus with Timber?我如何将合著者与 Timber 结合使用?
【发布时间】:2016-09-08 21:32:46
【问题描述】:

安装了 Co-Authors Plus。创建了一个访客用户。设置此访客用户的帖子。不覆盖。在树枝中:

<p class="article-byline__author">By <a href="{{post.author.path}}">{{post.author.name}}</a></p>

正确的方法是什么?使用 Timber 作为插件版本 1.1.5,最新的 WP 和 Co-Authors Plus。

【问题讨论】:

    标签: wordpress timber


    【解决方案1】:

    @user2340584 @j0861:从Timber 1.1.10 we've added a ton of features 开始,让 Co-Authors Plus 与来宾作者等一起开箱即用。运行升级,您的代码就可以工作了!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-06-22
      • 2021-12-11
      • 2012-04-01
      • 2017-06-13
      • 2019-02-09
      • 2012-08-21
      • 2018-02-23
      • 2017-02-10
      相关资源
      最近更新 更多