As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

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