<img src="<?php echo get_post_meta($thisId, 'wpcf-image3', true); ?> " alt="" /> </div> </div> </div> <div id="rightbox"> <h3 id="pro_name"><?php the_title(); ?> </h3> <div id="pro_disc"> <?php getFormatContent(get_post_meta($thisId, 'wpcf-product-description', true)); ?> </div> <div id="pro_size"> <?php $wpcf_height = get_post_meta($thisId, 'wpcf-height', true); $wpcf_width = get_post_meta($thisId, 'wpcf-width', true); $wpcf_length = get_post_meta($thisId, 'wpcf-length', true); $wpcf_diameter = get_post_meta($thisId, 'wpcf-diameter', true); if (!$wpcf_diameter) { echo $wpcf_length . " L x " . $wpcf_width . " W x " . $wpcf_height . " H (CM) "; } else { echo $wpcf_diameter . " Diameter x " . $wpcf_height . " H (CM) "; } ?> </div>
?> " alt=""/> </div> <div id="single_designer_name"><?php the_title(); ?> </div> <div id="single_desinger_email"><?php echo get_post_meta($thisId, 'wpcf-designer_email', true); ?> </div> </div> <div id="single_designer_description"> <h6>Introduction:</h6> <?php getFormatContent(get_post_meta($thisId, 'wpcf-designer-description', true)); ?> </div> </div> <div id="single_designer_works"> <h6>Display:</h6> <div id="single_designer_workbox"> <?php $thisCate = get_the_title(); $args = array('tax_query' => array(array('taxonomy' => 'designer_category', 'field' => 'slug', 'terms' => $thisCate))); $query = new WP_Query($args); while ($query->have_posts()) { $query->the_post(); $thisCateId = get_the_ID(); $posttype = get_post_type($thisCateId); if ($posttype == 'product') {