【问题标题】:Where do I upload bbPress theme when installed as WordPress plugin?当安装为 WordPress 插件时,我在哪里上传 bbPress 主题?
【发布时间】:2012-07-18 17:25:08
【问题描述】:

我安装了 bbPress 插件的 WordPress。我想知道我应该在哪里上传额外的 WordPress 主题,这样它们就不会被 bbPress 升级覆盖?

最严格的猜测是 wp-content/plugins/bbpress/bbp-themes/ 目录,但是里面有一个 index.php 声明:

<?php

/**
 * Do not put custom themes here. They will be deleted on bbPress updates.
 *
 * Keep custom bbPress themes in /wp-content/themes/
 */

?>

好的。我在那里上传了主题,但找不到切换主题的地方。去了管理员->设置->论坛,但那里什么也没有。我什至尝试在 wp-content/themes 中创建一个 bbp-themes 目录并在那里上传主题,但仍然没有结果。

任何帮助将不胜感激。

【问题讨论】:

    标签: wordpress bbpress


    【解决方案1】:

    按照说明将主题添加到 wp-content/themes/,然后在正常的外观 > 主题部分中选择它。

    您需要确保您的主题与 bbPress 兼容。它需要 bbPress 文件和 functions.php 文件中的以下内容。

    add_theme_support( 'bbpress' );
    

    【讨论】:

      猜你喜欢
      • 2012-06-10
      • 2020-07-09
      • 2010-10-12
      • 1970-01-01
      • 2012-01-27
      • 2021-05-30
      • 2015-07-14
      • 2013-08-18
      • 2019-06-23
      相关资源
      最近更新 更多