Custom PostType vs WP_List_Table
First, I apologize if this is in the wrong discussion. I am brand new to WordPress plugin development and I have a fairly general question concerning best practices:
The website’s main function will be to provide price quotes for users to view and ultimately the users can sell their products to the admins of the site based on the quoted price.
I started writing the plugin using WP_List_table to query and display the data from the custom tables that I created with the plugin. When it came time to code the editing function WP_List_Table left me a little lost on how to either link to a custom page with fields to edit the products and their price quotes in the database or use some WordPress API.
I then came across information on creating custom post types and now I am little confused on which route to go down: creating custom post types for the products and their price quote or hard-coding the tables, etc. with WP_List_Table.
Any thoughts on the matter?
In case I wasn’t clear enough on how the website will function, imagine:
1. The website’s main function will be to buy video games from the users
2. The user goes to the site and selects things like “Title”, “Edition”, “Condition”, etc.
2. The website then provides a price quote to the user
All of the above needs to be accomplished using AJAX.
Any help on which route to take will be greatly appreciated, thank you!
- The topic ‘Custom PostType vs WP_List_Table’ is closed to new replies.