File "content-product.php"

Full Path: /home/vantageo/public_html/cache/cache/.wp-cli/wp-content/themes/vantageone/template-parts/content-product.php
File size: 2.57 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * Template part for displaying page content in page.php
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package vantageone
 */

/* Template Name: Page with Sidebar */

?>


<style type="text/css">


	ul.woof_list.woof_list_checkbox {
	    padding: 0;
	}


	.woof_checkbox_label{
	    margin-left: 7px;
	}

	.woof_checkbox_label_selected{
	    font-weight: bold;
	}

	.woof_radio_label_selected{
	    font-weight: bold;
	}

	.woof_checkbox_count{
	    margin-left: 3px;
	}

	.woof_radio_label{
	    margin-left: 5px;
	}

	.woof_radio_count{
	    margin-left: 2px;
	}

	a.woof_front_toggle{
	    float:right;
	}



	input[type=checkbox] + label:before {
	    content: '';
	    margin-right: 10px;
	    display: inline-block;
	    vertical-align: text-top;
	    width: 20px;
	    height: 20px;
	    background: #fff;
	}	

	input[type=checkbox] {
	    position: absolute;
	    opacity: 0;
	}

	input[type=checkbox] + label {
	    position: relative;
	    cursor: pointer;
	    padding: 0;
	}


	h3.widget-title {
	    display: none;
	}	

</style>


<div class="mediathumb" style="background-image: url('<?php the_post_thumbnail_url('2048px');?>');"> </div>

<article class="container" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<header class="entry-header" data-aos="fade-up" data-aos-duration="3000">
		<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
	</header><!-- .entry-header -->

	<?php #kmp_post_thumbnail(); ?>



	<div class="filtersidebar col-12 col-sm-12 col-md-3 col-lg-3 float-left">

		<?php if ( is_active_sidebar( 'filter-side-bar' ) ) : ?>
		    <?php dynamic_sidebar( 'filter-side-bar' ); ?>
		<?php endif; ?>

		<?php
		#echo do_shortcode( '[wpf-filters id=1]' );
		?>
	</div>


	<div class="entry-content col-12 col-sm-12 col-md-9 col-lg-9 float-left" data-aos="fade-up" data-aos-duration="2000">
		<?php
		the_content();

		wp_link_pages( array(
			'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'kmp' ),
			'after'  => '</div>',
		) );
		?>
	</div><!-- .entry-content -->

	<?php if ( get_edit_post_link() ) : ?>
		<footer class="entry-footer">
			<?php
			edit_post_link(
				sprintf(
					wp_kses(
						/* translators: %s: Name of current post. Only visible to screen readers */
						__( 'Edit <span class="screen-reader-text">%s</span>', 'kmp' ),
						array(
							'span' => array(
								'class' => array(),
							),
						)
					),
					get_the_title()
				),
				'<span class="edit-link">',
				'</span>'
			);
			?>
		</footer><!-- .entry-footer -->
	<?php endif; ?>
</article><!-- #post-<?php the_ID(); ?> -->