?
| Current Path : /home/webyoo/www/zohar/site/wp-content/themes/accu/ |
| Current File : /home/webyoo/www/zohar/site/wp-content/themes/accu/single-wpsl_stores.php |
<?php get_header();
$global_breadcrumb = cs_get_option( 'show-breadcrumb' );
$header_class = cs_get_option( 'breadcrumb-position' );?>
<!-- ** Header Wrapper ** -->
<div id="header-wrapper" class="<?php echo esc_attr($header_class); ?>">
<!-- **Header** -->
<header id="header">
<div class="container"><?php
/**
* accu_header hook.
*
* @hooked accu_vc_header_template - 10
*
*/
do_action( 'accu_header' ); ?>
</div>
</header><!-- **Header - End ** -->
<!-- ** Breadcrumb ** -->
<?php
if( !empty( $global_breadcrumb ) ) {
$breadcrumbs = array();
$bstyle = accu_cs_get_option( 'breadcrumb-style', 'default' );
$cat = get_the_term_list( $post->ID , 'wpsl_store_category', '', '$$$', '');
$cats = array_filter(explode('$$$', $cat));
if (!empty($cats))
$breadcrumbs[] = $cats[0];
$breadcrumbs[] = the_title( '<span class="current">', '</span>', false );
$style = accu_breadcrumb_css();
accu_breadcrumb_output ( the_title( '<h1>', '</h1>',false ), $breadcrumbs, $bstyle, $style );
}
?><!-- ** Breadcrumb End ** -->
</div><!-- ** Header Wrapper - End ** -->
<!-- **Main** -->
<div id="main">
<!-- ** Container ** -->
<div class="wpsl-stores-fullwidth-container">
<!-- Primary -->
<section id="primary" class="content-full-width">
<!-- #post-<?php the_ID(); ?> -->
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php echo do_shortcode( '[wpsl_map]' ); ?>
<div class="container">
<div class="entry-content">
<div class="dt-sc-margin60"></div>
<div class="column dt-sc-one-half first">
<?php if(has_post_thumbnail()) { ?>
<div class="entry-thumb">
<a href="<?php the_permalink();?>" title="<?php printf( esc_attr__('%s', 'accu'), the_title_attribute('echo=0') );?>"><?php
$attachment_id = get_post_thumbnail_id( $post->ID );
$img_attributes = wp_get_attachment_image_src( $attachment_id, 'accu-1170x767' );
echo '<img src="'.esc_url($img_attributes[0]).'" alt="'.the_title_attribute('echo=0').'" title="'.the_title_attribute('echo=0').'" />';?>
</a>
</div>
<?php } ?>
</div>
<div class="column dt-sc-one-half">
<?php $content = apply_filters('the_content', get_post_field('post_content', $post->ID) );
echo "{$content}";
echo do_shortcode( '[wpsl_address]' ); ?>
</div>
</div>
</div>
</article><!-- #post-<?php the_ID(); ?> -->
</section><!-- Primary End -->
</div>
<!-- ** Container End ** -->
</div><!-- **Main - End ** -->
<?php get_footer(); ?>