I have flexslider library in my library folder. how to add jquery.flexslider.js file in my theme or how to call in my template.php file.
If the library has been created than you can use libraries_load() as below:
// Load the library of flexislider plugin. libraries_load('flexslider');
libraries_load: Loads a library.
- $name: The name of the library to load.
- $variant: The name of the variant to load. Note that only one variant of a library can be loaded within a single request. The variant that has been passed first is used; different variant names in subsequent calls are ignored.