Conditional Script Loading for Shotcode

In the functions.php file or in your plugin file write the code below –