X7ROOT File Manager
Current Path:
/home/notabjze/hourglass.life/wp-content/themes/smart-mag/partials/header
home
/
notabjze
/
hourglass.life
/
wp-content
/
themes
/
smart-mag
/
partials
/
header
/
ðŸ“
..
📄
auth.php
(1.02 KB)
📄
button.php
(620 B)
📄
cart.php
(227 B)
📄
date.php
(265 B)
📄
hamburger.php
(360 B)
📄
header.php
(2.14 KB)
📄
logo.php
(1.44 KB)
ðŸ“
mega-menu
📄
nav-menu.php
(1.04 KB)
📄
off-canvas-menu.php
(1.82 KB)
📄
scheme-switch.php
(572 B)
📄
search.php
(1023 B)
📄
social-icons.php
(352 B)
📄
text.php
(403 B)
📄
ticker.php
(1.02 KB)
Editing: ticker.php
<?php /** * Partial: News Ticker for header. */ $props = array_replace([ 'posts' => 8, 'tags' => '', 'heading' => '', 'delay' => 8, ], $props); $query_args = [ 'orderby' => 'date', 'order' => 'desc', 'posts_per_page' => $props['posts'], 'ignore_sticky_posts' => true, ]; if ($props['tags']) { $query_args['tag_slug__in'] = array_map('trim', explode(',', $props['tags'])); } $query = new WP_Query(apply_filters('bunyad_ticker_query_args', $query_args)); if (!$query->have_posts()) { return; } if ($props['heading'] === '') { $props['heading'] = esc_html__('Trending', 'bunyad'); } ?> <div class="trending-ticker" data-delay="<?php echo esc_attr($props['delay']); ?>"> <span class="heading"><?php echo wp_kses_post($props['heading']); ?></span> <ul> <?php while($query->have_posts()): $query->the_post(); ?> <li><a href="<?php the_permalink(); ?>" class="post-link"><?php the_title(); ?></a></li> <?php endwhile; ?> <?php wp_reset_postdata(); ?> </ul> </div>
Upload File
Create Folder