Support » Plugin: TablePress » Would Tablepress Work for my project

  • Resolved cl0ne

    (@cl0ne)


    Hi!

    I reviewed Tablepress and on a very basic level, it seems to have what I need but I can’t seem to find answers for custom post types. Frankly, I’m not sure if I need to rely on them.

    Here’s what I was trying to do:
    Create a custom post type which will contain hundreds of individual CPT. Each entry will only be a line item added in the editor or through ACF, whatever makes more sense. For instance, items could be “banana”, “orange”, “Tomato”, etc. The idea is to take these items and populate them into an HTML table, which can then be exported to a CSV/JSON on the frontend. Each item will be tagged with a single or multiple categories, like banana is a “Fruit” and a “Food”. Ideally, users should be able to search these items based on tags and then download them.

    Any ideas about how this can be implemented. I’m not sure what solutions would work best if not Tablepress.

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I don’t think that TablePress will be of much help here. It simply doesn’t have a way to dynamically create or populate a table with the data from your CPT posts.
    From what I understand, you are better of creating an HTML table (or CSV file) in PHP, after running your WP_Query for all the posts of the CPT.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.