X7ROOT File Manager
Current Path:
/home/notabjze/hourglass.life/wp-content/themes/smart-mag/partials/single
home
/
notabjze
/
hourglass.life
/
wp-content
/
themes
/
smart-mag
/
partials
/
single
/
ðŸ“
..
📄
author-box.php
(245 B)
📄
classic-title-meta.php
(1.28 KB)
📄
featured.php
(2.63 KB)
📄
layout-classic.php
(521 B)
📄
layout-cover.php
(3.06 KB)
📄
layout-large-center.php
(340 B)
📄
layout-large-image.php
(514 B)
📄
layout-large.php
(477 B)
📄
layout-modern.php
(1.6 KB)
📄
modern-header.php
(1.9 KB)
📄
pagination-large.php
(1014 B)
📄
post-content.php
(2.92 KB)
📄
post-footer.php
(429 B)
📄
post-navigation.php
(698 B)
📄
related-posts.php
(1.65 KB)
📄
social-share-bot.php
(370 B)
Editing: modern-header.php
<?php /** * Modern Single Post Header. */ $props = array_replace( [ 'layout' => 'modern', 'classes' => [], 'centered' => false, 'cat_style' => 'labels', 'featured' => false, ], $props ); // Alias for featured. if (isset($props['featured_in_head'])) { $props['featured'] = $props['featured_in_head']; } // Top social share. $has_social = false; if ( (is_single() || Bunyad::options()->social_icons_classic) && Bunyad::options()->single_share_top && class_exists('SmartMag_Core') ) { $has_social = true; $social_args = [ 'active' => Bunyad::options()->single_share_top_services, 'style' => $props['social_top_style'], ]; } $sub_title = Bunyad::posts()->meta('sub_title'); if ($sub_title) { $sub_title = sprintf('<div class="sub-title">%s</div>', wp_kses_post($sub_title)); } $classes = array_merge($props['classes'], [ 'the-post-header', 's-head-modern', 's-head-' . $props['layout'], $props['centered'] ? 's-head-center' : '', ]); ?> <div <?php Bunyad::markup()->attribs('s-head-' . $props['layout'], [ 'class' => $classes, ]); ?>> <?php $meta = Bunyad::blocks()->load('PostMeta', [ 'type' => 'single', 'is_single' => true, 'text_labels' => ['by', 'comments', 'views'], 'cat_style' => $props['cat_style'], // Items below should be from global settings. 'show_title' => true, 'after_title' => $sub_title, 'add_class' => 'post-meta-single', 'align' => 'left', 'author_img' => Bunyad::options()->post_meta_single_author_img, 'avatar_size' => 32, ]); $meta->render(); if ($has_social) { // See plugins/smartmag-core/social-share/views/social-share-b.php Bunyad::get('smartmag_social')->render('social-share-b', $social_args); } ?> <?php if ($props['featured']): ?> <div class="single-featured"> <?php Bunyad::core()->partial('partials/single/featured', $props); ?> </div> <?php endif; ?> </div>
Upload File
Create Folder