Support » Plugin: TablePress » Numbering tables from 1

  • Resolved Robin.navratil


    Hi, I would like to know, if i could import tables and start numbering from 1.
    I had new test websites and i need import tables from old one. It’s not problem. But if i delete all of tables from new one and import tables from old one counting ID start when it’s and with tests tables.
    That’s mean that those pages will not load the right table. I tried reinstal TablePress but it’s not working.
    Is there any option? Or when is TablePress saved in database to delete primary key manualy?
    Thank’s for answer

Viewing 3 replies - 1 through 3 (of 3 total)
  • OK i tried even change Last_id in options.php to 0 and still it start counting from 2. Any solution

    Sorry i found solution.
    In the option.php, next of lastid is tablepost(ornestly i dont’t know for what is it. Would be nice to know that.) But when i delete those numbers there(where was 1 and others) it start working.

    Plugin Author TobiasBg



    thanks for your post, and sorry for the trouble, as well as for the late answer. As I was on vacation, I didn’t have a chance to reply earlier.

    There might have been some remaining entries left, so that it appears that table ID 1 was taken. Removing those extra entries (after deleting all tables on the “List tables” screen) and setting last_id to 0 should achieve what you need.

    Best wishes,

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Numbering tables from 1’ is closed to new replies.