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: content.php
<?php /** * Legacy: Content Template is used for every post format and used on single posts * * Note: This is only used on classic post layout. Check partials/single/ folder for * other post layouts (layout-{name}.php). This template is called by single.php */ $classes = get_post_class(); // Using the title above featured image variant. $layout = Bunyad::posts()->meta('layout_template'); if (is_single() && $layout == 'classic-above') { $classes[] = 'title-above'; } else { $layout = 'classic'; } ?> <article id="post-<?php the_ID(); ?>" class="<?php echo esc_attr(join(' ', $classes)); ?>"> <header class="the-post-header post-header cf"> <?php if ($layout === 'classic-above'): ?> <?php get_template_part('partials/single/classic-title-meta'); ?> <?php endif; ?> <?php get_template_part('partials/single/featured'); ?> <?php if ($layout !== 'classic-above'): ?> <?php get_template_part('partials/single/classic-title-meta'); ?> <?php endif; ?> </header> <?php $args = []; // Disable spacious in classic listings. if (!is_single()) { $args['spacious_style'] = false; } // Get post body content Bunyad::core()->partial('partials/single/post-content', $args); ?> </article> <?php Bunyad::core()->partial('partials/single/post-footer'); ?>
Upload File
Create Folder