如何添加论坛页面 ID
 
Notifications
Clear all

[已经关闭] 如何添加论坛页面 ID

1 帖子
1 Users
0 Reactions
15.7 K 查看
清风許来
(@xu)
管理员 管理员 注册会员
已加入: 6 年 前
帖子: 85
Topic starter  

wpForo 将论坛页面的 PageID 保存在wp_options 表中。如果数据库中不存在此选项,您将无法在网站上看到论坛。请按照以下步骤操作:

1. 导航到仪表板>页面并找到论坛页面

2. 点击编辑链接,在地址栏中找到 PageID:

wpForo page ID 1

3. 转到仪表板>插件并安装“SQL执行器”插件。

4.导航到工具>SQL执行器,将此SQL放在查询文本区域中,然后单击执行SQL按钮:

INSERT INTO $options VALUES (NULL, 'wpforo_pageid', X, 'yes');

将X更改为您在上述步骤#2中找到的 PageID。


wpForo:中文文档 * 中文论坛 * 扩展插件

IMG 6843


   
Topic Tags
Share:
Qcloud 38

Log In

Forgot password?

Forgot password?

Enter your account data and we will send you a link to reset your password.

Your password reset link appears to be invalid or expired.

Log in

Privacy Policy

Add to Collection

No Collections

Here you'll find all collections you've created before.