X7ROOT File Manager
Current Path:
/home/notabjze/hourglass.life/wp-content/themes/smart-mag
home
/
notabjze
/
hourglass.life
/
wp-content
/
themes
/
smart-mag
/
ðŸ“
..
📄
404.php
(1.48 KB)
📄
README.txt
(87 B)
ðŸ“
admin
📄
archive.php
(2.82 KB)
ðŸ“
bbpress
📄
bbpress.php
(659 B)
ðŸ“
blocks
📄
category.php
(1017 B)
📄
comments.php
(5.01 KB)
📄
content.php
(1.29 KB)
ðŸ“
css
📄
footer.php
(832 B)
📄
functions.php
(2.14 KB)
📄
header.php
(1.55 KB)
ðŸ“
inc
📄
index.php
(175 B)
ðŸ“
js
ðŸ“
languages
ðŸ“
lib
ðŸ“
page-templates
📄
page.php
(2.42 KB)
ðŸ“
partials
📄
screenshot.png
(609.66 KB)
📄
sidebar.php
(904 B)
📄
single.php
(1.58 KB)
📄
style.css
(184.93 KB)
ðŸ“
woocommerce
📄
woocommerce.php
(526 B)
📄
wpml-config.xml
(3.91 KB)
Editing: functions.php
<?php /** * SmartMag Theme! * * This is the typical theme initialization file. Sets up the Bunyad Framework * and the theme functionality. * * ---- * * Other Code Locations: * * / - WordPress default template files. * lib/ - Contains the core Bunyad framework files. * inc/ - Functions & Classes: Helpers, Hooks, Objects. * admin/ - Admin-only content. * blocks/ - Several loops and components used in the theme. * partials/ - Template parts (partials): Views & HTML. * page-templates/ - Custom page templates. * * NOTE: If you're looking to edit HTML, look for default WordPress templates in * top-level / and in partials/ folder. Use same location in a Child Theme. * */ update_option( 'smartmag_license', true ); define('BUNYAD_THEME_VERSION', '8.0.6'); // Already initialized - some buggy plugin call? if (class_exists('Bunyad_Core')) { return; } /** * Initialize Framework * * Include the Bunyad_Base and extend it using our theme-specific class. */ require_once get_theme_file_path('lib/bunyad.php'); require_once get_theme_file_path('inc/bunyad.php'); /** * Main Theme File: Contains most theme-related functionality * * See file: inc/theme.php */ require_once get_theme_file_path('inc/theme.php'); // Fire up the theme - make available in Bunyad::get('theme') Bunyad::register('theme', [ 'class' => 'Bunyad_Theme_SmartMag', 'init' => true ]); // Legacy compat: Alias Bunyad::register('smart_mag', ['object' => Bunyad::get('theme')]); /** * Main Framework Configuration */ $bunyad = Bunyad::core()->init(apply_filters('bunyad_init_config', [ // Due to legacy compatibility, it's named smartmag without dash. 'theme_name' => 'smartmag', // For retrieving meta values from core plugin. 'meta_prefix' => '_bunyad', // Legacy compat. 'theme_version' => BUNYAD_THEME_VERSION, // Widgets enabled. 'post_formats' => ['gallery', 'image', 'video', 'audio'], // Sphere Core plugin components 'sphere_components' => [ 'social-follow', 'breadcrumbs', 'auto-load-post', 'elementor\layouts', 'elementor\dynamic-tags' ], 'add_sidebar_class' => false, ]));
Upload File
Create Folder