X7ROOT File Manager
Current Path:
/home/notabjze/pyirates.net/wp-content/themes/betheme
home
/
notabjze
/
pyirates.net
/
wp-content
/
themes
/
betheme
/
ðŸ“
..
📄
404.php
(2.31 KB)
ðŸ“
assets
ðŸ“
bbpress
📄
bbpress.php
(572 B)
📄
changelog.html
(311.78 KB)
📄
comments.php
(1.2 KB)
ðŸ“
css
ðŸ“
fonts
📄
footer.php
(7.68 KB)
ðŸ“
functions
📄
functions.php
(7.78 KB)
📄
header-shop.php
(6.37 KB)
📄
header.php
(2.08 KB)
ðŸ“
images
ðŸ“
includes
📄
index.php
(9.32 KB)
ðŸ“
js
ðŸ“
languages
ðŸ“
muffin-options
📄
page.php
(1.46 KB)
📄
readme.txt
(102 B)
📄
rtl.css
(38.88 KB)
📄
rtl.min.css
(34.99 KB)
📄
screenshot.png
(284.94 KB)
📄
search.php
(6.61 KB)
📄
searchform.php
(1.63 KB)
📄
sidebar.php
(1.09 KB)
📄
single-attachment.php
(742 B)
📄
single-download.php
(4.34 KB)
📄
single-portfolio.php
(2.81 KB)
📄
single-template.php
(5.85 KB)
📄
single.php
(3.22 KB)
📄
style-colors.php
(46.15 KB)
📄
style-one.php
(25.02 KB)
📄
style-responsive.php
(26.81 KB)
📄
style.css
(366 B)
📄
style.php
(52.34 KB)
📄
taxonomy-portfolio-types.php
(5.92 KB)
📄
template-archives.php
(2.04 KB)
📄
template-blank.php
(967 B)
📄
template-portfolio.php
(7.25 KB)
📄
template-shop-archive.php
(1.08 KB)
📄
template-single-product.php
(1.45 KB)
📄
template-sitemap.php
(623 B)
ðŸ“
tribe-events
📄
under-construction.php
(6.24 KB)
ðŸ“
vc_templates
ðŸ“
visual-builder
ðŸ“
woocommerce
📄
woocommerce.php
(1.61 KB)
📄
wpml-config.xml
(39.11 KB)
Editing: search.php
<?php /** * The search template file. * * @package Betheme * @author Muffin group * @link https://muffingroup.com */ get_header(); $is_live_search = false; if( mfn_opts_get('header-search-live') && isset( $_GET['mfn_livesearch'] ) ){ $is_live_search = true; } // image $image_show = mfn_opts_get('search-page-featured','1'); $image_position = mfn_opts_get('search-page-featured-position','left'); // meta $has_author = mfn_opts_get('search-page-author','1'); $has_date = mfn_opts_get('search-page-date','1'); $has_excerpt = mfn_opts_get('search-page-excerpt','1'); // read more $read_more = mfn_opts_get('search-page-readmore','1'); $read_more_align = 'align-'. mfn_opts_get('search-page-readmore-aligment','right'); $read_more_button = mfn_opts_get('search-page-readmore-style','link'); $read_more_icon = mfn_opts_get('search-page-readmore-icon'); if( $read_more_icon ){ $read_more_icon = '<i class="'. esc_attr($read_more_icon) .'" aria-hidden="true"></i>'; } // translate $is_translatable = mfn_opts_get('translate'); $translate['search-title'] = $is_translatable ? mfn_opts_get('translate-search-title','Ooops...') : __('Ooops...','betheme'); $translate['search-subtitle'] = $is_translatable ? mfn_opts_get('translate-search-subtitle','No results found for:') : __('No results found for:','betheme'); $translate['published'] = $is_translatable ? mfn_opts_get('translate-published','Published by') : __('Published by','betheme'); $translate['at'] = $is_translatable ? mfn_opts_get('translate-at','at') : __('at','betheme'); $translate['readmore'] = $is_translatable ? mfn_opts_get('translate-readmore','Read more') : __('Read more','betheme'); $translate['translate-view-product'] = $is_translatable ? mfn_opts_get('translate-view-product', 'View product') : __('View product', 'woocommerce'); ?> <div id="Content"> <div class="content_wrapper clearfix"> <main class="sections_group"> <section class="section"> <div class="section_wrapper clearfix"> <?php if( have_posts() && trim( $_GET['s'] ) ): ?> <div class="column one column_blog"> <div class="mcb-column-inner"> <div class="blog_wrapper isotope_wrapper"> <div class="posts_group <?php if( $is_live_search ){ echo 'lm_wrapper'; } ?>"> <?php while ( have_posts() ): the_post(); $has_image = 'no-image'; if( $image_show && get_the_post_thumbnail_url() ){ $has_image = 'has-image'; $has_image .= ' has-image-on-'. $image_position; } ?> <article id="post-<?php the_ID(); ?>" <?php post_class( array('search-item', 'clearfix', $has_image) ); ?>> <?php if( 'no-image' !== $has_image ): ?> <div class="post-featured-image"> <a href="<?php the_permalink(); ?>"> <?php the_post_thumbnail( 'blog-portfolio', array( 'class' => 'scale-with-grid' )); ?> </a> </div> <?php endif; ?> <div class="search-content"> <?php if( $has_author || $has_date ): ?> <div class="post-meta clearfix"> <div class="author-date"> <?php if( $has_author ): ?> <span class="author"><span><?php echo esc_html($translate['published']); ?> </span><i class="icon-user" aria-hidden="true"></i> <a href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'))); ?>"><?php the_author_meta('display_name'); ?></a></span> <?php endif; ?> <?php if( $has_date ): ?> <span class="date"><span><?php if( $has_author ) echo esc_html($translate['at']) .' '; ?></span><i class="icon-clock" aria-hidden="true"></i> <?php echo esc_html(get_the_date()); ?></span> <?php endif; ?> </div> </div> <?php endif; ?> <div class="post-title"> <h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4> </div> <?php global $product; if( $product ): ?> <div class="post-product-price"> <?php $price = $product->get_price() ? wc_get_price_including_tax($product) . get_woocommerce_currency() : ''; // echo $price; // echo '<br />'; echo $product->get_price_html(); ?> </div> <?php endif; ?> <?php if( $has_excerpt ): ?> <div class="post-excerpt"> <?php the_excerpt(); ?> </div> <?php endif; ?> <?php if( $read_more ): ?> <?php if( $product ){ $button_text = $translate['translate-view-product']; } else { $button_text = $translate['readmore']; } if ( mfn_opts_get('repetitive-links') ) { $button_text = mfn_repetitive_link( get_permalink(), $button_text ); } ?> <div class="search-footer <?php echo $read_more_align; ?>"> <a href="<?php the_permalink(); ?>" class="<?php echo $read_more_button; ?>"><?php echo $read_more_icon . $button_text; ?></a> </div> <?php endif; ?> </div> </article> <?php endwhile; ?> </div> <?php // if ( $is_live_search ): // echo '<div class="mfn-infinite-load-button">'. mfn_pagination(false, '10') .'</div>'; if (function_exists( 'mfn_pagination' )): echo mfn_pagination(); else: ?> <div class="nav-next"><?php next_posts_link(esc_html__('← Older Entries', 'betheme')) ?></div> <div class="nav-previous"><?php previous_posts_link(esc_html__('Newer Entries →', 'betheme')) ?></div> <?php endif; ?> </div> </div> </div> <?php else: ?> <article class="column one search-not-found"> <div class="mcb-column-inner"> <div class="snf-pic"> <i class="themecolor icon-search" aria-hidden="true"></i> </div> <div class="snf-desc"> <h4><?php echo esc_html($translate['search-title']); ?></h4> <p><?php echo esc_html($translate['search-subtitle']) .' '. ( ! empty($_GET['s']) ? esc_html($_GET['s']) : '' ); ?></p> </div> </div> </article> <?php endif; ?> </div> </section> </main> <?php get_sidebar(); ?> </div> </div> <?php wp_enqueue_script('mfn-waypoints', get_theme_file_uri('/js/plugins/waypoints.min.js'), ['jquery'], MFN_THEME_VERSION, true); get_footer();
Upload File
Create Folder