Hey everyone!

With the Labour Day holidays coming up, we’d like to let you know about our upcoming working hours:

Thursday, May 1st: Our team will be off during Labour Day.
Friday, May 2nd: We'll also be off for an extended holiday break.

We’ll be back on Monday, May 5th, ready to respond to all messages received during this time.

In the meantime, if you need help, feel free to:

https://www.youtube.com/@AmeliaWordPressBookingPlugin/videos

https://www.youtube.com/@wpDataTables/videos

Thank you for being so understanding, and we hope you enjoy the long weekend! 

Okay
  Public Ticket #1423627
Table ID duplication
Closed

Comments

  • Tammy started the conversation

    I have two datatables, one has an wpdatatables id of 2, the other is 12


    When I use the shortcode to put these in two different pages, they are both being assigned the same table_id of 3.  So when I style, it applies to both.

  •  472
    Isidora replied

    Hi Tammy,
    Thank you for your purchase.

    Yes id from the shortcode is  used for getting data and all settings from backend, but on frontend tables get generated id. So if you have more tables on same page the id's will be table_id_1,table_id_3,table_id_5...

    If you want to style those tables separately, you can insert your custom css on that page where you have that table between the style tag.(<style> Code here</style>). When you insert custom css in in Custom wpDataTables CSS under the "Custom JS AND CSS" in main settings of wpdatatables it will be affected on all tables.


    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables