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 #2470378
Change Caption of Buttons
Closed

Comments

  • Dominik Funkhauser started the conversation

    Hello, 

    is it possbile to change the caption of several standardbuttons? 

    p.e. "Add New" or "Delete" or "Print" marked red in the picture.

    Thank you!!

  •  2,576
    Aleksandar replied

    Hello Dominik

    Thank you for your purchase.

    You can change "Add New", "Edit" and "Delete" in /wp-content/plugins/wpdatatables/source/class.wpdatatable.php on lines 3426, 3430 and 3435:

    array(
        'text' => __('New entry', 'wpdatatables'),
        'className' => 'new_table_entry DTTT_button DTTT_button_new'
    ),
    array(
        'text' => __('Edit', 'wpdatatables'),
        'className' => 'edit_table DTTT_button DTTT_button_edit',
        'enabled' => false
    ),
    array(
        'text' => __('Delete', 'wpdatatables'),
        'className' => 'delete_table_entry DTTT_button DTTT_button_delete',
        'enabled' => false
    )

    You're looking at the text in the brackets ('New entry', 'Edit' and 'Delete')

    As for Print, you should go to lines 3302 and 3371 of the same file.

    Please note that these changes will be overwritten when the plugin updates, so you will need to do it again.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

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

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables