X7ROOT File Manager
Current Path:
/home/hamdjcne/public_html/wp-content/themes/hub
home
/
hamdjcne
/
public_html
/
wp-content
/
themes
/
hub
/
ðŸ“
..
📄
404.php
(2.89 KB)
📄
README.md
(565 B)
📄
ajaxify.php
(153 B)
📄
apple-touch-icon.png
(650 B)
📄
archive-liquid-portfolio.php
(740 B)
📄
archive.php
(764 B)
ðŸ“
assets
📄
author.php
(726 B)
ðŸ“
bbpress
📄
category.php
(741 B)
📄
comments.php
(2.85 KB)
📄
favicon.ico
(7.23 KB)
📄
favicon.png
(471 B)
📄
footer.php
(478 B)
📄
functions.php
(2.07 KB)
📄
header.php
(1.04 KB)
📄
index.php
(286 B)
ðŸ“
languages
ðŸ“
liquid
📄
page.php
(387 B)
ðŸ“
sbi
📄
screenshot.png
(30.11 KB)
📄
search.php
(361 B)
📄
sidebar.php
(91 B)
📄
single-liquid-footer.php
(202 B)
📄
single-liquid-header.php
(405 B)
📄
single-liquid-portfolio.php
(1.05 KB)
📄
single.php
(1.84 KB)
📄
style.css
(3.57 KB)
📄
tag.php
(737 B)
📄
taxonomy-liquid-portfolio-category.php
(749 B)
ðŸ“
templates
ðŸ“
theme
ðŸ“
woocommerce
📄
wpml-config.xml
(26.52 KB)
Editing: single.php
<?php /** * The template for displaying all single posts. * * @package Hub */ if ( class_exists( 'Liquid_Elementor_Addons' ) && defined('ELEMENTOR_VERSION') ){ $page_settings_manager = \Elementor\Core\Settings\Manager::get_settings_managers( 'page' ); $page_settings_model = $page_settings_manager->get_model( get_the_ID() ); $sp_style = $page_settings_model->get_settings( 'post_style' ); $sp_style = $sp_style ? $sp_style : liquid_helper()->get_option( 'post-style' ); $style = $sp_style ? $sp_style : liquid_helper()->get_option( 'post-style', 'classic' ); $floating_enable = $page_settings_model->get_settings( 'post_floating_box_enable' ); $floating_enable = $floating_enable ? $floating_enable : liquid_helper()->get_option( 'post-floating-box-enable' ); } else { $sp_style = liquid_helper()->get_option( 'post-style' ); $style = liquid_helper()->get_option( 'post-style', 'classic' ); $floating_enable = liquid_helper()->get_option( 'post-floating-box-enable' ); } if( 'classic' == $sp_style || empty( $sp_style ) ) { add_action( 'liquid_before_single_article_content', 'liquid_get_single_media', 5 ); } elseif( 'classic' !== $sp_style && !empty( $sp_style ) ) { add_action( 'liquid_before_single_article', 'liquid_get_single_media', 5 ); } if( 'on' == $floating_enable ) { add_action( 'liquid_before_single_article_content', 'liquid_get_single_floating_box', 5 ); } get_header(); while ( have_posts() ) : the_post(); //if empty style get default if( !$style ) { $style = 'minimal'; } $format = get_post_format(); if( 'video' === $format && class_exists( 'ReduxFramework' ) ){ $style = 'classic'; } elseif( 'audio' === $format && class_exists( 'ReduxFramework' ) ){ $style = 'minimal'; } get_template_part( 'templates/blog/single/classic' ); endwhile; get_footer();
Upload File
Create Folder