Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/wp-content/themes/music-night/search.php
Назад
<?php get_header(); ?> <div class="content"> <?php if( have_posts() ){ ?> <div class="container"> <div class="row"> <?php }else{ ?> <div class="container-fluid"> <div class="row"> <?php }?> <?php $musicnight_theme_option = get_option('musicnight_admin_option', array()); $musicnight_post_option = musicnight_decode_stopbackslashes(get_post_meta(get_the_ID(), 'post-option', true )); if( !empty($musicnight_post_option) ){ $musicnight_post_option = json_decode( $musicnight_post_option, true ); } $musicnight_sidebar = array(); $musicnight_sidebar['center'] = ''; if( empty($musicnight_post_option['sidebar']) || $musicnight_post_option['sidebar'] == 'default-sidebar' ){ $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'] ); }else{ $musicnight_sidebar = array( 'type'=>$musicnight_post_option['sidebar'], 'left-sidebar'=>$musicnight_post_option['left-sidebar'], 'right-sidebar'=>$musicnight_post_option['right-sidebar'] ); } $musicnight_sidebar = musicnight_get_sidebar_class($musicnight_sidebar); ?> <div class="kode-content-area kode-main-content <?php echo esc_attr($musicnight_sidebar['center'])?>"> <?php $musicnight_paypal = get_option('musicnight_paypal'); if( have_posts() ){ // set the excerpt length if( !empty($musicnight_theme_option['archive-num-excerpt']) ){ $musicnight_excerpt_length = $musicnight_theme_option['archive-num-excerpt']; add_filter('excerpt_length', 'musicnight_set_excerpt_length'); } $musicnight_lightbox_id++; $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['title-num-fetch'] = 200; $musicnight_post_settings['blog-style'] = $musicnight_theme_option['archive-blog-style']; echo '<div class="kode-blog-list-archive kode-fullwidth-blog row">'; $size = 1; if($musicnight_theme_option['archive-blog-style'] == 'blog-full'){ echo musicnight_get_blog_full($wp_query,$size, 'ddd'); }else if($musicnight_theme_option['archive-blog-style'] == 'blog-medium'){ echo '<div class="kode-blog-list-archive kode-mediium-blog margin-bottom">'; echo musicnight_get_blog_medium($wp_query); echo '</div>'; }else{ $blog_size = 3; echo '<div class="kode-blog-list-archive kode-blog-grid margin-bottom-30">'; echo musicnight_get_blog_grid($wp_query, $blog_size, 'fitRows'); echo '</div>'; } echo '</div>'; $paged = (get_query_var('paged'))? get_query_var('paged') : 1; echo musicnight_get_pagination($wp_query->max_num_pages, $paged); }else{ ?> <!--// Main Content //--> <div class="main-content"> <div class="row"> <div class="col-md-12"> <div class="content_404"> <div class="container"> <div class="content_caption_404"> <h2><?php echo esc_attr__('Not Found!! Please try with other keyword.','music-night');?></h2> <?php get_search_form();?> <a href="<?php echo esc_url(home_url('/'))?>" class="default_btn theme-bg_btn"><?php echo esc_attr__('Back to Home','music-night');?></a> </div> </div> </div> <!--KODE 404 WRAP START--> </div> </div> </div> <!--// Main Content //--> <?php } ?> </div> <?php $musicnight_sidebar = musicnight_get_sidebar_class($musicnight_sidebar); if($musicnight_sidebar['type'] == 'both-sidebar' || $musicnight_sidebar['type'] == 'left-sidebar'){ ?> <div class="kode-left-sidebar-area pull-left <?php echo esc_attr($musicnight_sidebar['left'])?>"> <?php get_sidebar('left'); ?> </div> <?php } if($musicnight_sidebar['type'] == 'both-sidebar' || $musicnight_sidebar['type'] == 'right-sidebar' && $musicnight_sidebar['right'] != ''){ ?> <div class="kode-right-sidebar-area pull-right <?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
|
Настройка