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: single-portfolio.php
<?php /** * The Template for displaying all single posts. * * @package Betheme * @author Muffin group * @link https://muffingroup.com */ get_header(); global $mfn_global; $class = ''; if (get_post_meta(get_the_ID(), 'mfn-post-template', true) == 'builder') { $class .= 'no-padding'; } $single_post_nav = array( 'hide-header' => false, 'hide-sticky' => false, 'in-same-term' => false, ); $opts_single_post_nav = mfn_opts_get('prev-next-nav'); if (is_array($opts_single_post_nav)) { if (isset($opts_single_post_nav['hide-header'])) { $single_post_nav['hide-header'] = true; } if (isset($opts_single_post_nav['hide-sticky'])) { $single_post_nav['hide-sticky'] = true; } if (isset($opts_single_post_nav['in-same-term'])) { $single_post_nav['in-same-term'] = true; } } $post_prev = get_adjacent_post($single_post_nav['in-same-term'], '', true, 'portfolio-types'); $post_next = get_adjacent_post($single_post_nav['in-same-term'], '', false, 'portfolio-types'); $portfolio_page_id = mfn_opts_get('portfolio-page'); ?> <div id="Content" class="<?php echo esc_attr($class); ?>"> <div class="content_wrapper clearfix"> <main class="sections_group"> <?php if (! $single_post_nav['hide-sticky']) { echo mfn_post_navigation_sticky($post_prev, 'prev', 'icon-left-open-big'); echo mfn_post_navigation_sticky($post_next, 'next', 'icon-right-open-big'); } $tmp_id = $mfn_global['single_portfolio']; if( !empty($_GET['elementor-preview']) ){ // elementor builder fix while (have_posts()) { the_post(); the_content(); } }else if( ( empty($_GET['visual']) || !empty($_GET['mfn-template-id']) ) && !empty( $tmp_id ) && is_numeric( $tmp_id ) && get_post_type( $tmp_id ) == 'template' && get_post_status( $tmp_id ) == 'publish' ) { $mfn_builder = new Mfn_Builder_Front( $tmp_id ); $mfn_builder->show(); }else{ if (get_post_meta(get_the_ID(), 'mfn-post-template', true) == 'builder') { // template: builder ----- // prev & next post navigation mfn_post_navigation_sort(); while (have_posts()) { the_post(); $mfn_builder = new Mfn_Builder_Front(get_the_ID()); $mfn_builder->show(); } } else { // template: default while (have_posts()) { the_post(); get_template_part('includes/content', 'single-portfolio'); } if (mfn_opts_get('portfolio-comments')) { echo '<section class="section section-page-comments">'; echo '<div class="section_wrapper clearfix">'; echo '<div class="column one comments">'; echo '<div class="mcb-column-inner">'; comments_template('', true); echo '</div>'; echo '</div>'; echo '</div>'; echo '</section>'; } } } ?> </main> <?php get_sidebar(); ?> </div> </div> <?php get_footer();
Upload File
Create Folder