Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/wp-content/themes/music-night/index.php
Назад
<?php get_header(); $musicnight_theme_option = get_option('musicnight_admin_option', array()); $header_background = musicnight_header_title_index(); $musicnight_theme_option['kode-header-style'] = (empty($musicnight_theme_option['kode-header-style']))? 'header-style-1': $musicnight_theme_option['kode-header-style']; $page_caption = ''; $page_background = ''; $page_title = esc_attr__('Music Night WordPress','music-night'); $musicnight_post_option = musicnight_decode_stopbackslashes(get_post_meta(get_the_ID(), 'post-option', true)); if(!empty($musicnight_post_option['page-caption'])){ $page_caption = $musicnight_post_option['page-caption'];} ?> <!--Sub Banner Wrap Start--> <div <?php echo wp_kses($header_background,array('img'=>array('src'=>array(),'alt'=>array()),'a'=>array()));?> class="sub-banner <?php echo esc_attr($musicnight_theme_option['kode-header-style']);?>"> <div class="container"> <h6><?php echo esc_attr(musicnight_text_filter($page_title)); ?></h6> <p><?php esc_attr_e('Praising pain was born and I will give you a complete account will give you a complete account','music-night');?></p> </div> </div> <!--Sub Banner Wrap End--> <!--KODE SAB BANNER WRAP END--> <div class="content kode-main-content-k"> <div class="container"> <div class="row"> <?php $musicnight_sidebar = array( 'type'=>$musicnight_theme_option['archive-sidebar-template'], 'left-sidebar'=>$musicnight_theme_option['archive-sidebar-left'], 'right-sidebar'=>$musicnight_theme_option['archive-sidebar-right'] ); $musicnight_sidebar = musicnight_get_sidebar_class($musicnight_sidebar); if($musicnight_sidebar['type'] == 'both-sidebar' || $musicnight_sidebar['type'] == 'left-sidebar'){ ?> <div class="<?php echo esc_attr($musicnight_sidebar['left'])?>"> <?php get_sidebar('left'); ?> </div> <?php } ?> <div class="kode-main-content <?php echo esc_attr($musicnight_sidebar['center'])?>"> <?php // set the excerpt length if( !empty($musicnight_theme_option['archive-num-excerpt']) ){ global $musicnight_excerpt_length; $musicnight_excerpt_length = 55; add_filter('excerpt_length', 'musicnight_set_excerpt_length'); } $musicnight_lightbox_id++; $musicnight_post_settings['title-num-fetch'] = 200; $musicnight_post_settings['blog-meta'] = 'yes'; $musicnight_post_settings['blog-share'] = 'yes'; $musicnight_post_settings['num-excerpt'] = '150'; $musicnight_post_settings['thumbnail-size'] = 'full'; $musicnight_post_settings['blog-style'] = $musicnight_theme_option['archive-blog-style']; echo '<div class="kode-blog-list-full kode-fullwidth-blog row">'; $musicnight_post_settings['blog-info'] = array('author', 'date', 'category', 'comment'); echo musicnight_get_blog_full($wp_query,1, 'ddd'); echo '<div class="clear"></div>'; echo '</div>'; $paged = (get_query_var('paged'))? get_query_var('paged') : 1; echo musicnight_get_pagination($wp_query->max_num_pages, $paged); ?> </div> <?php if($musicnight_sidebar['type'] == 'both-sidebar' || $musicnight_sidebar['type'] == 'right-sidebar' && $musicnight_sidebar['right'] != ''){ ?> <div class="<?php echo esc_attr($musicnight_sidebar['right'])?>"> <?php get_sidebar('right'); ?> </div> <?php } ?> </div><!-- Row --> </div><!-- Container --> </div><!-- content --> <?php get_footer(); ?>
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка