at path:
ROOT
/
wp-content
/
themes
/
kroth
/
single-portfolio.php
run:
R
W
Run
assets
DIR
2023-04-17 09:50:05
R
W
Run
inc
DIR
2023-04-17 09:50:05
R
W
Run
languages
DIR
2023-04-17 09:50:05
R
W
Run
layouts
DIR
2023-04-17 09:50:05
R
W
Run
woocommerce
DIR
2023-04-17 09:50:05
R
W
Run
404.php
1.42 KB
2023-04-17 09:50:05
R
W
Run
Delete
Rename
archive.php
3.44 KB
2023-04-17 09:50:05
R
W
Run
Delete
Rename
comments.php
4.42 KB
2023-04-17 09:50:05
R
W
Run
Delete
Rename
footer.php
1.14 KB
2023-04-17 09:50:05
R
W
Run
Delete
Rename
functions.php
1.53 KB
2023-04-17 09:50:05
R
W
Run
Delete
Rename
header.php
7.78 KB
2023-04-17 09:50:05
R
W
Run
Delete
Rename
index.php
3.36 KB
2023-04-17 09:50:05
R
W
Run
Delete
Rename
page.php
3.24 KB
2023-04-17 09:50:05
R
W
Run
Delete
Rename
readme.txt
0 By
2023-04-17 09:50:05
R
W
Run
Delete
Rename
rtl.css
449 By
2023-04-17 09:50:05
R
W
Run
Delete
Rename
screenshot.png
203 KB
2023-04-17 09:50:05
R
W
Run
Delete
Rename
search.php
1.98 KB
2023-04-17 09:50:05
R
W
Run
Delete
Rename
searchform.php
381 By
2023-04-17 09:50:05
R
W
Run
Delete
Rename
sidebar-shop.php
465 By
2023-04-17 09:50:05
R
W
Run
Delete
Rename
sidebar.php
1.24 KB
2023-04-17 09:50:05
R
W
Run
Delete
Rename
single-portfolio.php
2.98 KB
2023-04-17 09:50:05
R
W
Run
Delete
Rename
single-team.php
2.37 KB
2023-04-17 09:50:05
R
W
Run
Delete
Rename
single.php
2.84 KB
2023-04-17 09:50:05
R
W
Run
Delete
Rename
style.css
2.84 KB
2023-04-17 09:50:05
R
W
Run
Delete
Rename
taxonomy.php
1.58 KB
2023-04-17 09:50:05
R
W
Run
Delete
Rename
woocommerce.php
2.52 KB
2023-04-17 09:50:05
R
W
Run
Delete
Rename
wpml-config.xml
791 By
2023-04-17 09:50:05
R
W
Run
Delete
Rename
error_log
up
📄
single-portfolio.php
Save
<?php /* * The template for displaying all single portfolios. * Author & Copyright: VictorThemes * URL: https://victorthemes.com */ get_header(); // Metabox $kroth_id = ( isset( $post ) ) ? $post->ID : 0; $kroth_id = ( is_home() ) ? get_option( 'page_for_posts' ) : $kroth_id; $kroth_id = ( is_woocommerce_shop() ) ? wc_get_page_id( 'shop' ) : $kroth_id; $kroth_meta = get_post_meta( $kroth_id, 'page_type_metabox', true ); if ($kroth_meta) { $kroth_content_padding = $kroth_meta['content_spacings']; } else { $kroth_content_padding = ''; } // Padding - Metabox if ($kroth_content_padding && $kroth_content_padding !== 'padding-none') { $kroth_content_top_spacings = $kroth_meta['content_top_spacings']; $kroth_content_bottom_spacings = $kroth_meta['content_bottom_spacings']; if ($kroth_content_padding === 'padding-custom') { $kroth_content_top_spacings = $kroth_content_top_spacings ? 'padding-top:'. kroth_check_px($kroth_content_top_spacings) .';' : ''; $kroth_content_bottom_spacings = $kroth_content_bottom_spacings ? 'padding-bottom:'. kroth_check_px($kroth_content_bottom_spacings) .';' : ''; $kroth_custom_padding = $kroth_content_top_spacings . $kroth_content_bottom_spacings; } else { $kroth_custom_padding = ''; } } else { $kroth_custom_padding = ''; } // Translation $kroth_single_pagination = cs_get_option('portfolio_single_pagination'); $kroth_prev_port = cs_get_option('prev_port'); $kroth_next_port = cs_get_option('next_port'); $kroth_prev_port = ($kroth_prev_port) ? $kroth_prev_port : __('Prev Project', 'kroth'); $kroth_next_port = ($kroth_next_port) ? $kroth_next_port : __('Next Project', 'kroth'); ?> <div class="container krth-content-area <?php echo esc_attr($kroth_content_padding); ?>" style="<?php echo esc_attr($kroth_custom_padding); ?>"> <div class="row"> <div class="col-lg-12 no-padding sngl-port-cnt"> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if (have_posts()) : while (have_posts()) : the_post(); the_content(); endwhile; endif; ?> </div><!-- Post ID --> </div><!-- Content Area --> <?php if ($kroth_single_pagination) { ?> <!-- Next and Prev Navigation --> <div class="krth-portfolio-next-prev"> <?php $kroth_prev_post = get_previous_post(); $kroth_next_post = get_next_post(); if ($kroth_prev_post) { ?> <a href="<?php echo esc_url(get_permalink($kroth_prev_post->ID)); ?>" class="krth-portfolio-prev"> <span class="krth-port-nav-hm"><i class="fa fa-angle-left"></i> <?php echo esc_attr($kroth_prev_port); ?></span> <span class="krth-port-nav-nm"><i class="fa fa-angle-left"></i></span> </a> <?php } if ($kroth_next_post) { ?> <a href="<?php echo esc_url(get_permalink($kroth_next_post->ID)); ?>" class="krth-portfolio-next"> <span class="krth-port-nav-nm"><i class="fa fa-angle-right"></i></span> <span class="krth-port-nav-hm"><?php echo esc_attr($kroth_next_port); ?> <i class="fa fa-angle-right"></i></span> </a> <?php } ?> </div> <?php } ?> </div> </div> <?php get_footer();