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: category.php
<?php /** * Category Template * * Sets up the correct loop format to use. Additionally, meta is processed for other * layout preferences. */ global $bunyad_loop_template; $loop_args = []; $category = get_category(get_query_var('cat'), false); $cat_meta = Bunyad::posts()->term_meta(null, $category->term_id); if (!$cat_meta || empty($cat_meta['template'])) { $cat_meta['template'] = Bunyad::archives()->get_default_loop(); } switch ($cat_meta['template']) { // Special query for timeline. case 'timeline': if (empty($cat_meta['per_page'])) { query_posts(array('cat' => $category->term_id, 'posts_per_page' => 30)); } break; } // Set pagination. if (!empty($cat_meta['pagination_type'])) { $loop_args['pagination_type'] = $cat_meta['pagination_type']; } $args = [ 'loop' => $cat_meta['template'], 'loop_args' => $loop_args, ]; // Have a sidebar preference? if (!empty($cat_meta['sidebar'])) { $args['sidebar'] = $cat_meta['sidebar']; } Bunyad::core()->partial('archive', $args);
Upload File
Create Folder