Title: [table “example” not found /]
Last modified: August 21, 2016

---

# [table “example” not found /]

 *  Resolved [spinaker](https://wordpress.org/support/users/spinaker/)
 * (@spinaker)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/table-example-not-found/)
 * Hi Tobias,
 * I hope the subject more or less explains the problem. I’m calling the shortcode
   from a page that uses a custom template page. The table that I want to be manipulated
   is php generated and it’s id is “example”.
 * Best regards.
 * [http://wordpress.org/plugins/tablepress/](http://wordpress.org/plugins/tablepress/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/table-example-not-found/#post-4495404)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * Can you explain what “The table that I want to be manipulated is php generated
   and it’s id is ‘example’.” means? How is the table PHP-generated?
    This has to
   be a TablePress table.
 * Regards,
    Tobias
 *  Thread Starter [spinaker](https://wordpress.org/support/users/spinaker/)
 * (@spinaker)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/table-example-not-found/#post-4495486)
 * Hi, sorry for not being clear. Well, this is a snippet of how my table is generated.
   I do that in a custom template page and then I call that template. I put the 
   shortcode in that page. Ok, I have to see what is TablePress table.
 * echo ‘<table id=”example”>’;
    echo ‘<thead>’; echo ‘<tr>’; echo ‘<th>Order ID
   </th>’; echo ‘<th>Client</th>’; echo ‘<th>Goods</th>’; echo ‘<th>Status</th>’;
   echo ‘<th>Payment Status</th>’; echo ‘<th>ETA</th>’; echo ‘</tr>’; echo ‘</thead
   >’; echo ‘<tbody>’; echo ‘<tr>’; echo ‘<td>’; echo ‘$field”; echo ‘</td>’; echo‘
   <td>’; echo $client_name; echo ‘</td>’; echo ‘<td>’; echo $product; echo ‘</td
   >’; echo ‘<td>’; echo $status; echo ‘</td>’; echo ‘<td>’; echo $payment_status;
   echo ‘</td>’; echo ‘<td>’; echo $date_of_arrival; echo ‘</td>’; echo ‘</tr>’;}}
   echo ‘</tbody>’; echo ‘</table>’;
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/table-example-not-found/#post-4495502)
 * Hi,
 * ok, so you are echoing the HTML code for your table directly. You won’t need 
   a Shortcode then, and can’t actually even use one.
    The Shortcode that you mention
   will only work if the table were generated by the TablePress plugin (see [http://wordpress.org/plugins/tablepress/](http://wordpress.org/plugins/tablepress/))
   which is not possible here though, as your data seems to be coming from an external
   data source like a database table. Now, why exactly do you want to use the Shortcode,
   if the table HTML code is already echoed to the page?
 * Regards,
    Tobias
 *  Thread Starter [spinaker](https://wordpress.org/support/users/spinaker/)
 * (@spinaker)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/table-example-not-found/#post-4495519)
 * Ок,I’m apologizing for not introducing myself carefully to the plugin. I wanted
   to use sorting and pagination to my table, and thought that if I use the shortcode
   the plugin will deliver that functionality.
    Anyway, I did that already just 
   using the DataTabel library. But is it possible with TablePress to manage existing
   tables?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/table-example-not-found/#post-4495525)
 * Hi,
 * yes, for tables that were created by other scripts, you should manually load 
   the features of the DataTables JS library.
 * If you want to use TablePress, you can simply import your tables (e.g. from CSV
   or HTML formats).
 * Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[table “example” not found /]’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/table-example-not-found/#post-4495525)
 * Status: resolved