File: /home/salhiscp/salhab360photos.com/wp-content/themes/acora/template-parts/portfolio-single.php
<?php
/**
* Portfolio single.
*
* @package acora
* @since acora 1.0
*/
?>
<?php
$class = acora_settings_portfolio_has_navigation() ? ' has-navigation' : ' no-navigation';
?>
<div id='post-<?php the_ID(); ?>' <?php wp_kses(post_class('single' . esc_attr($class)), wp_kses_allowed_html('post')); ?>>
<?php
if(!post_password_required()){
acora_get_vertical_menu_logo();
acora_settings_portfolio();
}
?>
<div class="main">
<div class="main-inner">
<div class="<?php
if(post_password_required()){
if(acora_settings_has_header()){
echo "entry-content password fwd-hide";
}else{
echo "entry-content no-header password fwd-hide";
}
}else{
if(acora_settings_has_header()){
echo "entry-content fwd-hide";
}else{
echo "entry-content no-header fwd-hide";
}
}
?>">
<div class="title">
<div class="<?php
if(post_password_required()){
echo "title-holder password";
}else{
echo "title-holder";
}
?>">
<?php acora_get_post_title(); ?>
</div>
</div><!-- .title -->
<div class="meta">
<?php
if(!post_password_required()){
echo acora_get_posted_on();
if(comments_open()){
echo acora_comment_count();
}
echo acora_get_like_button();
echo acora_posted_by();
}
?>
</div><!-- .meta -->
<div class="separator"></div>
<?php
the_content();
if(!post_password_required()){
echo acora_settings_get_share_buttons();
}
?>
</div><!-- .entry-content -->
<?php
if(acora_settings_has_header()):
$class = AcoraData::$data->portfolio_settings['use_share_feature'] ? ' has-share' : ' no-share';
?>
<header class="entry-header<?php echo esc_attr($class); ?>">
<div class="inner">
<div class="scrollbar-macosx acora-hide-top">
<?php if(!post_password_required()): ?>
<?php acora_settings_has_header(); if(!empty(acora_settings_get_client($post))): ?>
<div class="client sub">
<h1 class="widget-title"><?php esc_html_e('Client', 'acora'); ?></h1>
<?php echo acora_settings_get_client($post); ?>
</div><!-- .client -->
<?php endif; ?>
<?php
echo acora_settings_get_portfolio_categories();
echo acora_settings_get_portfolio_tags();
endif;
?>
</div><!-- .scrollbar-macosx -->
</div><!-- .inner -->
</header><!-- .header -->
<?php endif; ?>
</div><!-- .wrapper -->
</div><!-- .inner -->
</div>