• Resolved bsidey

    (@bsidey)


    I’ve installed this plugin and saved the Datatables settings page.
    I created a new page and entered the shortcode [wp_jdt id=”03_users”]
    where “03_users” is a mysql table in my database.
    When I view the page in a browser nothing shows up.

    I guess I need to first create a datatable from my mysql table. Please put detailed instructions in the installation page on how and where to create the datatable.

    https://www.ads-software.com/plugins/wp-jquery-datatable/

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

    (@biztechc)

    Hi bsidey,

    I think you misunderstood this plugin functionality.It will not show mysql table data in page.You need to add HTML data table in your code and give that table a id,which is put on shortcode.

    EX :<table id=’03_users’ width=’100%’>
    <thead>
    <tr>
    <th>Name</th>
    <th>Position</th> <th>Office</th>
    <th>Age</th> <th>Start date</th>
    <th>Salary</th>
    </tr>
    </thead>
    <tfoot>
    <tr>
    <th>Name</th>
    <th>Position</th>
    <th>Office</th>
    <th>Age</th>
    <th>Start date</th>
    <th>Salary</th>
    </tr>
    </tfoot>
    <tbody>
    <tr>
    <td>Tiger Nixon</td>
    <td>System Architect</td>
    <td>Edinburgh</td>
    <td>61</td
    <td>2011/04/25</td>
    <td>$320,800</td>
    </tr>
    </tbody>
    </table>

    Put this code in your page where shortcode will be returned.

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘How to create my first table?’ is closed to new replies.