Wrap each table code inside a div – PHP WordPress

To automatically, wrap each table code inside a div we need to enter the following code inside functions.php file.

It can be useful for many purposes. For exmaple we can make a table responsive width by putting a table tag inside a dive and then assigning the following css to div;

overflow-x: auto !important;

 

Contents Copyrights Reserved By T4Tutorials