[resolved] Is it possible to add rows from another WP function like 'search' ? (2 posts)

  1. arielcon
    Posted 2 years ago #

    Is there a way to add records from another WP function?

    Let me clarify this:
    I need a tablepress table where each record is added automatically from WP, from some PHP wordpress files/functions.

    Is it possible to do that ?

    Many Thanks,


  2. TobiasBg
    Plugin Author

    Posted 2 years ago #

    Hi Ariel,

    thanks for your question.

    No, this is not possible, sorry. That search is specific to tables, and as it uses JavaScript to search the table on the page, it can not be extended to other data.

    You could however try this manually: Instead of using TablePress to create your table, you can use PHP to access the data you need and display it in table (by letting PHP echo the HTML code for a table). Then you can manually add the features of the DataTables JavaScript library (from http://www.datatables.net) to that table. That's the same JS library that TablePress uses.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TablePress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic