WordPress数据库中的其他表 [英] Additional tables in WordPress database

查看:146
本文介绍了WordPress数据库中的其他表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用WordPress,我想为我的网站开发更多的服务。我想在WordPress数据库中创建新表。这种方法是否有效?我不希望WordPress在更新等时删除我的表格。

I am using WordPress and I would like to develop more services for my website. I am thinking of creating new tables inside WordPress database. Will this approach work? I don't want WordPress to delete my tables while updating etc.

这些服务将在单独的页面上,它们不会是WordPress插件。我只是想使用WordPress数据库来存储我的表。

These services will be on separate pages, they will not be WordPress plugins. I just want to use the WordPress database to store my tables.

推荐答案

由WP Tech Ninja引用(Samuel Wood,aka Otto)在wordpress.org的这篇文章中,您可以安全地

As referenced by a WP Tech Ninja (Samuel Wood, aka Otto) in this post on wordpress.org, you can safely add tables to the Wordpress database and it shouldn't be an issue for upgrades or maintenance.


添加新表很好,并且有几个插件只是。 Twitter工具。

Adding new tables is fine and several plugins do just that. Twitter Tools, for one.

[...]

升级可以修改数据库, 完全使用一些其他表,该表不会被WordPress感动。它只查看自己的表。

Upgrading can modify the database, but if you're using some other table entirely, that table won't be touched by WordPress. It only looks at its own tables.

这篇关于WordPress数据库中的其他表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆