I've got a client with some very specific requirements for a feature on their WP site for a downloads system. After a lot of scouring of the web I've found an old plugin and made a few changes to improve the styling and visual output.
The plugin now does 90% of what is needed. However, it stores its data in 2 custom table that are specific to only this plugin. It does not use the posts table or any other WP table. This means that the content derived from the plugin is not searchable via WP's built in functionality, and there doesn't seem to be any logical means to rectify this.
As a result, it seems my only option is to try and convert the plugin so that is uses custom posts to store the data related to the downloads.
Im fairly new to WP and a bit rusty on my PHP, so I could really do with some help / pointers of how to best go about solving the search issue.
Here are the details of the tables....
TABLE: wp_download
COL1: id
COL2: category_id
COL3: name
COL4: description
COL5: url_file
COL6: image
COL7: hits
COL8: created(datetime)
COL9: modified(datetime)
TABLE: wp_category
COL1: id
COL2: name
COL3: description
COL4: image
COL5: created(datetime)
COL6: modified(datetime)
Essentially, I looking for clarification of how this data would be re-distributed to be better integrated with WP and therefore searchable.
For example.. What data, goes where? Do I need to create custom post types etc?
Thanks in advance, any help will be greatly appreciated.