What is the proper way to include a PHP framework into my theme?
It is that simple. Code away! if it’s in a plugin I do this: $plugin_url = plugin_dir_url( __FILE__ ); include_once($plugin_url . ‘inc/twitter.php’); if it’s in a theme file include_once(get_stylesheet_directory_uri().’inc/twitter.php’);