How to hide “Apply and add new”, “Next” and “Prev” buttons from the edit modal?By Aleksandar Vukovic on 25/10/19 in
If you don’t want to offer options Prev, Next and Apply and add new in your edit modal, you can hide them with some simple CSS.
To hide them from all tables, use one of the following codes in Custom CSS field, found in Custom JS and CSS tab in main settings of wpDataTables:
.wdt-apply-edit-button { display: none !important; }
.wdt-prev-edit-button { display: none !important; }
.wdt-next-edit-button { display: none !important; }
If, on the other hand, you wish to use this only for certain tables in front-end, you can place one of these codes directly on the page between <style>Your code</style> tags.
Was this answer helpful ?
Yes
No