Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

Storing data for a wordpress plugin

Using a taxonomy is probably the best way. Creating a CPT will be the second option. The problem with CPTs is that you will need to store data in the mesta table which will most likely have some performance impact on other things being done on the site. Taxonomy term meta data is less bloated and you will have the advantage of being able to associate the posts with the terms representing the funds being refereed in it.

The disadvantage of using taxonomy is that the UI for editing term data sucks more than the post meta data UI. (yes, you most likely will need UI if only for testing that your csv “import” works well, and it is useful to be able to make small changes without regenerating the whole CSV).

Related Posts:

  1. Why WordPress choose data serialization over json_encode?
  2. Dealing with Many Meta Values, 30+
  3. What is the most secure way to store post meta data in WP?
  4. How to delete outdated, wrongly sized images in _wp_attachment_metadata?
  5. Meta query interfering with orderby relevance
  6. Migrating non-WordPress CMS to WordPress, lots of data to move — possible solutions?
  7. How to solve slow WordPress site caused by attachment_metadata
  8. Delete all post meta except featured image
  9. Is it possible to store visitors IPs in wp_postmeta table?
  10. Multiple postmeta with same name for one post in wp_postmeta table
  11. Delete all post meta except featured image Using SQL
  12. One post carries 30 postmeta values, is this too much?
  13. delete post meta from db, even if does not exist?
  14. WordPress and MySQL: how to transfer Meta_key and Meta_Value from one post_id to another
  15. Where does the actual data stored by add_post_meta
  16. Structure of postmeta meta_value for woocommerce product download
  17. Routine to convert custom post meta from old to new value
  18. Saving zero as meta value
  19. Uknown meta entries in wp_postmeta
  20. Does post_meta data need to be unserialzed?
  21. Link image with data from the wpdb
  22. Custom Post Type not showing anything added by code anymore?
  23. Compare User meta_value with Product meta_value
  24. How to save EXIF metadata in WordPress database?
  25. _wp_attachment_metadata is not being added to database when PDF files uploaded
  26. “BS_” rows in postmeta table
  27. Migrating meta_key and meta_value from old theme to new one
  28. Database structure for thousands of posts
  29. How much post meta data is too much?
  30. How do i get value from wp_postmeta?
  31. Recommended Post Structure for DB Storage
  32. SQL query : Select a thumbnail for a media
  33. wp_update_post function exclude specific field
  34. What is an ORM, how does it work, and how should I use one? [closed]
  35. What is the difference between an ORM and an ODM?
  36. What is this JavaScript “require”?
  37. Rename a table in MySQL
  38. How should I tackle –secure-file-priv in MySQL?
  39. What is this JavaScript “require”?
  40. What is “Advanced” SQL?
  41. What’s the difference between identifying and non-identifying relationships?
  42. Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
  43. Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
  44. Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
  45. What are the differences between B trees and B+ trees?
  46. MySQL SELECT increment counter
  47. How to resolve ORA-011033: ORACLE initialization or shutdown in progress
  48. Example of a strong and weak entity types
  49. Oracle SQL query for Date format
  50. phpMyAdmin – Error > Incorrect format parameter?
  51. Strange Characters in database text: Ã, Ã, ¢, â‚ €,
  52. Difference between partition key, composite key and clustering key in Cassandra?
  53. How SID is different from Service name in Oracle tnsnames.ora
  54. What is a relation in database terminology?
  55. Failed to connect to mysql at 127.0.0.1:3306 with user root access denied for user ‘root’@’localhost'(using password:YES)
  56. Database vs File system storage
  57. Can I have multiple primary keys in a single table?
  58. Exclude Statement in SQL
  59. How do you query for “is not null” in Mongo?
  60. What is a file based database?
  61. Is it fine to have foreign key as primary key?
  62. Storing Images in DB – Yea or Nay?
  63. Using wpdb to connect to a separate database
  64. how to Optimize WordPress database for 10 million post? [duplicate]
  65. MySQL Database User: Which Privileges are needed?
  66. Why is my database import losing text widget data?
  67. Database synchronization between dev/staging and production
  68. Keeping WP database synced across multiple developers using git
  69. Post meta vs separate database tables
  70. WPDB Insert or if exists Update
  71. Multiple developers / editors working on a site in progress
  72. How can I make updates to a site, on a development copy, but then move updates back without overriding live site’s evolving database?
  73. get_results using wpdb
  74. Will it break my site if I delete all transient records in wp_options table?
  75. Checking if Database Table exists
  76. What’s the simplest way to backup my WordPress database?
  77. WordPress (MyISAM) database is slow, should I switch to InnoDB?
  78. $wpdb won’t insert NULL into table column
  79. Relaunch 4.2 utf8mb4 database upgrade
  80. Fastest way (least amount of steps) to locally import a remote database using WP-CLI
  81. Safest way to bulk delete post revisions
  82. Please explain how WordPress works with MySQL character set and collation at a low level
  83. Solution for database version control and deployment?
  84. The MySQL alternatives: Do Percona Server and MariaDB work well with WordPress, and do they make WordPress go better?
  85. How many users can WordPress handle?
  86. Get error messages when $wpdb->insert() returns false?
  87. Detecting errors generated by $wpdb->get_results()
  88. Staging sites, how do you manage synchronising updates in the DB?
  89. Does dbDelta delete columns as well?
  90. How to get the post publish date outside the loop?
  91. MariaDB as a backend database
  92. wpdb update add current timestamp not working
  93. Site stuck in “Database Update Required” loop
  94. How to fetch Data in WordPress using MySQLi or $wpdb
  95. WordPress Database lost auto increment
  96. Count & Display Database Queries
  97. Connect to database using wordpress wp-config file
  98. How can I make a WordPress database portable and url independent?
  99. Are There Any Plans for WordPress to Support Databases Other Than MySQL?
  100. wpdb->insert multiple record at once
Categories Database Tags database, post-meta
Auto delete comment if Contains
How can i upload images in an admin page?

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress