Support » Plugin: TablePress » display posts by critera

  • Resolved javawizard

    (@javawizard)


    I would love to show a page w/ this table where the data is from posts table and a custom attribute. So the columns would be something like this…

    • game name
    • genra (post category)
    • rating (custom attribute in posts)

    Is this possible. I don’t want duplicate data

    http://wordpress.org/extend/plugins/tablepress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question.

    Unfortunately, I have to disappoint you: This is not possible with TablePress, as the intended use case for TablePress is to provide an easy way to manage static tabular data.
    For dynamic data like in your case, a custom solution, based on WordPress Template Tags is the way to go. You should run a custom query for the corresponding posts and use those template tags to show the result in a tabular layout (by using The Loop).

    Sorry for not having a better answer. 🙁

    Regards,
    Tobias

    javawizard

    (@javawizard)

    Not a bad idea. I was also considering datatables and writing a json service as well.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    a JSON service shouldn’t be necessary, as printing the HTML should be quicker. And manually adding DataTables to that table is no problem of course!

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘display posts by critera’ is closed to new replies.