| Server IP : 14.225.204.176 / Your IP : 216.73.216.6 Web Server : nginx/1.24.0 System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 User : root ( 0) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/php/langngon.com/wp-content/themes/langngon/ |
Upload File : |
<?php
/**
* Roots includes
*
* The $roots_includes array determines the code library included in your theme.
* Add or remove files to the array as needed. Supports child theme overrides.
*
* Please note that missing files will produce a fatal error.
*
* @link https://github.com/roots/roots/pull/1042
*/
/**
* Load core theme for ZiniMedia
**/
$roots_includes = array(
'lib/define.php', // define(name, value)ine value
'lib/init.php', // Initial theme setup and constants
// 'lib/utils.php', // Utility functions
'lib/post-type.php', // Load post type
// 'lib/wrapper.php', // Theme wrapper class
'lib/sidebar.php', // Sidebar class
// 'lib/config.php', // Configuration
// 'lib/activation.php', // Theme activation
// 'lib/titles.php', // Page titles
'lib/nav.php', // Custom nav modificatisons
// 'lib/gallery.php', // Custom [gallery] modifications
// 'lib/comments.php', // Custom comments modifications
'lib/scripts.php', // Scripts and stylesheets
// 'lib/extras.php', // Extra functions
'lib/custom.php', // Custom functions
// 'lib/shortcode.php', // Shortcode functions
// 'lib/widgets.php', // Widgets functions
'lib/acf.php', // Advenced Custom Field Functions
'lib/ajax.php', // Load Ajax For App
);
foreach ($roots_includes as $file) {
if (!$filepath = locate_template($file)) {
trigger_error(sprintf(__('Error locating %s for inclusion', 'langngon'), $file), E_USER_ERROR);
}
require_once $filepath;
}
unset($file, $filepath);