-
作者帖子
-
请问[bbp-single-forum id=$forum_id]的id怎么填 谢谢
还有请问您如何把这个搜索框去掉
看下面图,后台编辑版块看到的ID 就是 forums_id,文章、帖子、这些同理
蟹蟹
搜索框用 css 隐藏,把下面代码添加到你页面的自定义 css 里面。
#bbpress-forums .bbp-search-form { display: none; }
谢谢 我网上找了一下 这样也可以 非常感谢
To remove bbPress Search box from page
正在查看 6 个帖子:1-6 (共 6 个帖子)-
作者帖子
-
请问[bbp-single-forum id=$forum_id]的id怎么填 谢谢
还有请问您如何把这个搜索框去掉
看下面图,后台编辑版块看到的ID 就是 forums_id,文章、帖子、这些同理
蟹蟹
搜索框用 css 隐藏,把下面代码添加到你页面的自定义 css 里面。
#bbpress-forums .bbp-search-form { display: none; }
谢谢 我网上找了一下 这样也可以 非常感谢
To remove bbPress Search box from page
正在查看 6 个帖子:1-6 (共 6 个帖子)-
作者帖子
-
请问[bbp-single-forum id=$forum_id]的id怎么填 谢谢
还有请问您如何把这个搜索框去掉
看下面图,后台编辑版块看到的ID 就是 forums_id,文章、帖子、这些同理
蟹蟹
搜索框用 css 隐藏,把下面代码添加到你页面的自定义 css 里面。
#bbpress-forums .bbp-search-form { display: none; }
谢谢 我网上找了一下 这样也可以 非常感谢
To remove bbPress Search box from page [bbp-forum-index] copy content-archive-forum.php from wp-content\plugins\bbpress\templates\default\bbpress to your theme and remark out code:
bbp_get_template_part( ‘form’, ‘search’ );
To remove bbPress Search box from page [bbp-topic-index] copy content-archive-topic.php from wp-content\plugins\bbpress\templates\default\bbpress to your theme and remark out the same line:
bbp_get_template_part( ‘form’, ‘search’ );
-
作者帖子
正在查看 6 个帖子:1-6 (共 6 个帖子)- 哎呀,回复话题必需登录。
bbp_get_template_part( ‘form’, ‘search’ );
To remove bbPress Search box from page [bbp-topic-index] copy content-archive-topic.php from wp-content\plugins\bbpress\templates\default\bbpress to your theme and remark out the same line:
bbp_get_template_part( ‘form’, ‘search’ );
-
-
作者帖子
正在查看 6 个帖子:1-6 (共 6 个帖子)- 哎呀,回复话题必需登录。
bbp_get_template_part( ‘form’, ‘search’ );
To remove bbPress Search box from page [bbp-topic-index] copy content-archive-topic.php from wp-content\plugins\bbpress\templates\default\bbpress to your theme and remark out the same line:
bbp_get_template_part( ‘form’, ‘search’ );
-
-
作者帖子
- 哎呀,回复话题必需登录。