Skip to main content

Between functions.php (theme), widgets, and plugins, which is loaded first?

Customer asks if a specific carousel plugin he uses can be widgetized. That means iI should create a widget inside functions.php which calls the plugin's function. That means that the plugin's code has to be loaded first so that the function be available to wordpressWordPress when the functions.php file is loaded, right? Would Would that work?

Customer asks if a specific carousel plugin he uses can be widgetized. That means i should create a widget inside functions.php which calls the plugin's function. That means that the plugin's code has to be loaded first so that the function be available to wordpress when the functions.php file is loaded, right? Would that work?

Customer asks if a specific carousel plugin he uses can be widgetized. That means I should create a widget inside functions.php which calls the plugin's function. That means that the plugin's code has to be loaded first so that the function be available to WordPress when the functions.php file is loaded, right? Would that work?

edited body
Source Link
pixeline
  • 2.9k
  • 7
  • 34
  • 44

Customer asks if a specific carousel plugin he uses can be widgetized. That means i should create a widget inside functions.php which calls the plugin's function. That means that the plugin's code has to be loaded first so tahtthat the function be available to wordpress when the functions.php file is loaded, right? Would that work?

Customer asks if a specific carousel plugin he uses can be widgetized. That means i should create a widget inside functions.php which calls the plugin's function. That means that the plugin's code has to be loaded first so taht the function be available to wordpress when the functions.php file is loaded, right? Would that work?

Customer asks if a specific carousel plugin he uses can be widgetized. That means i should create a widget inside functions.php which calls the plugin's function. That means that the plugin's code has to be loaded first so that the function be available to wordpress when the functions.php file is loaded, right? Would that work?

Tweeted twitter.com/#!/StackWordPress/status/115363917898842113
Source Link
pixeline
  • 2.9k
  • 7
  • 34
  • 44
Loading