X7ROOT File Manager
Current Path:
/home/freights/public_html/wp-content/themes/newsmash
home
/
freights
/
public_html
/
wp-content
/
themes
/
newsmash
/
??
..
??
404.php
(1.51 KB)
??
archive.php
(2.5 KB)
??
assets
??
footer.php
(494 B)
??
functions.php
(13.26 KB)
??
header.php
(1.21 KB)
??
inc
??
index.php
(2.58 KB)
??
licence.txt
(34.98 KB)
??
page-templates
??
pfisfze7
(9.03 KB)
??
readme.txt
(11.53 KB)
??
screenshot.png
(268.83 KB)
??
search.php
(2.53 KB)
??
sidebar-woocommerce.php
(446 B)
??
sidebar.php
(427 B)
??
single.php
(5.23 KB)
??
style.css
(11.19 KB)
??
template-parts
??
wmvh2zpb
(9.03 KB)
??
woocommerce
??
woocommerce.php
(891 B)
Editing: woocommerce.php
<?php /** * The template for displaying all single posts. * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post * * @package NewsMash */ get_header(); $newsmash_shop_pg_sidebar_option = get_theme_mod('newsmash_shop_pg_sidebar_option', 'right_sidebar'); ?> <div class="dt-container-md"> <div class="dt-row"> <?php if($newsmash_shop_pg_sidebar_option == 'left_sidebar'): get_sidebar('woocommerce'); endif; ?> <?php if($newsmash_shop_pg_sidebar_option == 'no_sidebar'): ?> <div class="dt-col-lg-12 content-right"> <?php else: ?> <div id="dt-main" class="dt-col-lg-8 content-right"> <?php endif; ?> <?php woocommerce_content(); // WooCommerce Content ?> </div> <?php if($newsmash_shop_pg_sidebar_option == 'right_sidebar'): get_sidebar('woocommerce'); endif; ?> </div> </div> <?php get_footer(); ?>
Upload File
Create Folder