WordPress does this by default. It uses your existing MySQL database to store content from pages, posts and other types of content.
Take a look at the wp_posts
and the wp_postsmeta
tables in your database to find all your content stored there.
Also WordPress internally treats all pages as posts with a different post_type
value (set to page
).
See this for the present DB structure
https://codex.wordpress.org/Database_Description
See this if you want to create the tables dynamically with your plugin
https://codex.wordpress.org/Creating_Tables_with_Plugins
Related Posts:
- How do I show data from gravity forms in my template? [closed]
- Delete tables from database when deleting plugin
- How to delete all records from or empty a custom database table?
- WordPress sharding: which multi-DB plugin to use?
- How to make sense of the active_plugins option_value to enable and disable certain plugins from the database?
- Simple form that saves to database
- Using Vagrant for customizable WordPress Multi-sites [closed]
- Updating WordPress – the best approach (updating wp core, plugins and db)
- How do I check what plugins are enabled via the database?
- How can a Firebase user registration and login be integrated into a WordPress site?
- Bad Request (Invalid Hostname) on working server, database problem
- Plugin Not Working, But Only On GoDaddy Hosted site
- How to update widget_text in the wp_options table
- prefix table and plugins
- how to show database content in wordpress post
- What is the easiest way to implement cascading database upgrade for my plugin?
- Ajax with jQuery UI dialog not working
- Storing Email Account Passwords for SMTP Mailing for a WordPress Plugin
- Remove obsolete plugins artifacts from database tables
- If I delete plugins via FTP are settings kept in DB?
- Is the wordpress user-model changed in wpmu?
- What kind of data is that?
- Cannot login to ADMIN even after changing password in phpmyadmin
- Where to hook my plugin’s action
- Embed a Google Sheet as you view it in a separate tab?
- Building an email signup form. Where should the information be saved in the DB?
- Where does WordPress store plugin (enabled/disabled) status for multisite?
- How to access data in wordpress database externally using php
- custom user tables supported in SharDB plugin?
- How to check if tables in WordPress still exists after activations
- Prevent duplicate records in plugin table
- Automatic switch to backup database on fail
- WordPress Integration with Google Groups
- Create a table with wordpress plugin boilerplate
- wp_editor content in plugin options page
- Why this function not working for install database on plugin activation
- plugin code is pulling information from database in one instance and not in other. What is wrong?
- Can I create a table on my DB without creating a plugin?
- WordPress : Explain Plugins & Theme string value in database
- Plugins in WP_Options but not Active
- WordPress as a data-store?
- Gathering and logging data from a plugin: how to do it without race conditions?
- How to pass the API key to the client from the database? [closed]
- Issue running db create table query from static method
- Problem of encoding characters (apostrophes) in my posts publications
- Is there a rule for wordpress plugins developers to not do any database changes upon update?
- dbDelta not adding additional columns in plugin database update
- Updating options into the wp database performance
- Ajax save data to database on document ready, no data being saved
- How to edit a published post?
- Plugin has added weird data in wp_options, set to autoload
- External wpdb connections in different plugins on single page
- Comment “like” problem – “users who like this” avatar linking to current user profile instead of “liker’s” profile
- WordPress plugin boilerplate table create
- How to relate 3 wordpress components with each other (Create database relationships)
- Creating a search form and displaying results
- WordPress plugin: efficient way to store large data
- How can I store data from custom fields to custom tables?
- Is this plugin safe to run?
- Integrating Custom Database with WordPress
- How to display results from a data table with an encrypted user id?
- add_action for publish_post doesn’t work
- Getting URL GET parameter with Code snippets and storing it in database?
- Same Plugin tables between wordpress installations
- create pages automatically and dynamically in wordPress
- Optimise wordpress database using SQL after deleting registered images from Media Folder
- How to implement data residency in my WordPress site
- add_action(‘the_content’, ‘my_plugin_content’) is null
- WordPress database problem wp_posts, primary key
- How to allow URL with filename & extension in wordpress?
- Programmatically generate new pages for a site based on page template and content elements accessed via DB
- How wordpress handle urls present in db for external wp-content directory
- Remove special characters from filenames
- Using Filters to modify contect – DB query results alwats appear fist
- PHP message: WordPress database error Deadlock found when trying to get lock
- Many to many relationship for variable products
- using wordpress login details for other website / application / forum?
- how to create database to use it in wordpress website?
- HyperDB failover Delay
- how can i get records from wp_postmeta table using particular meta_key in database?
- How to create a custom page for unrelated database?
- User content database [closed]
- Include plugin form in the home page
- Write mysql credentials in plugin
- Is saving multiple options or saving multiple items in one option better?
- Collaborate on wordpress local website, share files via dropbox?
- Pull Data from DB for Admin Page Display as Relates to Admin Page Class by BA Internet
- Posts are deleted everyday at night
- Display Plugin information on specific url
- How to find an option in the database?
- Is there a plugin that will override the “Error establishing a database connection” message? [closed]
- Get the url of attachments from the post?
- Create New Admin Menu Section – Like how custom post type works, in a way
- Shortcode returning specific content of a post
- get_option returning a different value from what’s saved
- How can I delete the options from DB when the plugin is deleted?
- register_activation_hook not working
- Does anyone recognize these table names?
- Edit a page/post DB data?
- plugin doesn’t retrieve data from database