WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] display posts by critera (4 posts)

  1. javawizard
    Member
    Posted 1 year ago #

    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/

  2. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    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

  3. javawizard
    Member
    Posted 1 year ago #

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

  4. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags