Beispiel #1
0
    	                            <script type="text/javascript">
    	                            jQuery(document).ready(function($){
    	                            	$('.extra-images-slider').flexslider({
                                        	controlNav: false
                                        });    
    	                            });
    	                            </script>
    							<?php else: ?>
									<?php yit_image( "id=$image_id" );//echo wp_get_attachment_image( $image_id, 'full' ); ?>
								<?php endif ?>
							<?php endif ?>
						</div>

						<div class="work-description span8" style="float: <?php echo $image_position ?>">
			                <h1><?php yit_work_the( 'title' ) ?></h1>
							<?php yit_work_the('content'); ?>			                            
			            </div>            

			            <?php if( ($skills && $skills_label) || $year || $customer || $terms_plain  ): ?>
				            <div class="work-skillsdate span4">
				                <h4><?php echo yit_work_get('project-label'); ?></h4>
					            <?php if( ! empty( $skills ) && ! empty( $skills_label ) ): ?><p class="categories paragraph-links"><span class="meta-label"><?php echo $skills_label  ?>:</span> <?php echo $skills ?></p><?php endif ?>
					            <?php if( ! empty( $customer ) ): ?><p class="customer"><span class="meta-label"><?php echo _e('Customer', 'yit') ?>:</span> <?php echo $customer; ?></p><?php endif ?>
		                        <?php if( ! empty( $terms_plain ) ): ?><p class="categories"><span class="meta-label"><?php echo _e('Categories', 'yit') ?>:</span> <?php echo $terms_plain; ?></p><?php endif ?>
                                
					            <?php if( ! empty( $website ) || ! empty( $website_url ) ): ?><p class="website"><span class="meta-label"><?php echo _e('URL', 'yit') ?>:</span> <a href="<?php echo esc_url( $website_url ) ?>"><?php echo empty( $website ) ? $website_url : $website; ?></a></p><?php endif ?>
								<?php if( ! empty( $year ) ): ?><p class="workdate"><span class="meta-label"><?php echo _e('Date', 'yit') ?>:</span> <?php echo $year; ?></p><?php endif ?>
				            </div>
			            <?php endif ?>
					<?php endif ?>
				</div>
Beispiel #2
0
							  			</div>
							  		</div>
							  		<?php 
        }
        ?>
							    </div>  
                            <?php 
    }
    ?>
  
        
                            <h4><a href="<?php 
    echo $post_permalink;
    ?>
"><?php 
    yit_work_the('title');
    ?>
</a></h4>
                            
                            <?php 
    if (yit_work_get('enable_excerpt')) {
        ?>
	                            <?php 
        echo yit_content(yit_work_get('content'), yit_work_get('excerpt_length'));
        ?>
                            <?php 
    }
    ?>
                            
                			<?php 
    if (yit_work_get('read_more_text') != '') {
Beispiel #3
0
        ?>
							
							<?php 
        if ($title) {
            ?>
 
							<div class="ch-info-text<?php 
            echo $title_class;
            ?>
">
								<p class="title"><?php 
            yit_work_the('title');
            ?>
</p>
								<p class="subtitle"><?php 
            yit_work_the('subtitle');
            ?>
</p>
							</div>
							<?php 
        }
        ?>
						</div>
						<?php 
    }
    ?>
					</div>
					
				<?php 
    if (!$lightbox) {
        ?>
Beispiel #4
0
            ?>
							<?php 
        }
        ?>
						</div>

						<div class="work-description span8" style="float: <?php 
        echo $image_position;
        ?>
">
			                <h1><?php 
        yit_work_the('title');
        ?>
</h1>
							<?php 
        yit_work_the('content');
        ?>
			                            
			            </div>            

			            <?php 
        if ($skills && $skills_label || $year || $customer || $terms_plain) {
            ?>
				            <div class="work-skillsdate span4">
				                <h4><?php 
            echo yit_work_get('project-label');
            ?>
</h4>
					            <?php 
            if (!empty($skills) && !empty($skills_label)) {
                ?>
Beispiel #5
0
    ?>
            </div>
            <div class="clear"></div>
		</div>
<?php 
    break;
}
?>

<div class="clear"></div>
<?php 
if (yit_work_get('display_related')) {
    $i = 0;
    ?>
<h3><?php 
    yit_work_the('other_projects_label');
    ?>
</h3>
<div class="portfolio-<?php 
    echo $portfolio_type;
    ?>
-related-projects">
	
	<?php 
    $vars = yit_portfolio_query_vars();
    $var['posts_per_page'] = yit_work_get('detail_nitems') ? yit_work_get('detail_nitems') : -1;
    yit_get_model('portfolio')->shortcode_atts = $var;
    yit_set_portfolio_loop($vars->post_id * 1);
    ?>
	
	<?php 
							?>
							<li class="work span2">
                                <a href="<?php echo $image_permalink ?>" rel="lightbox" class="ch-info-lightbox<?php if($video_url): ?>-video<?php endif ?>">
                                    <div class="play">
                                        <img src="<?php echo get_template_directory_uri() . '/theme/assets/images/section-video-play.png' ?>" />
                                    </div>
                                    <div class="img">
                                        <?php echo wp_get_attachment_image( $image_id, 'section_video' ); ?>
                                    </div>
                                    <div class="over">
                                        <?php //if( $lightbox ): ?>
                                        <img src="<?php echo get_template_directory_uri() . '/images/icons/' .  ($video_url  ? 'play-2.png' : 'zoom-2.png') ?>" alt="<?php _e('Open Lightbox', 'yit') ?>" />
                                        <?php //endif ?>
                                    </div>
								</a>
								<p class="title"><?php yit_work_the('title') ?></p>
							</li> 
						<?php endwhile ?>
					</ul>
				</div>
				<a class="next span1" href="#"><img src="<?php echo get_template_directory_uri() . '/theme/assets/images/section-video-right.png' ?>" /></a>
				<div class="clear"></div>
			</div>
			<?php
				wp_enqueue_script( 'caroufredsel' );
				wp_enqueue_script( 'touch-swipe' );
				wp_enqueue_script( 'mousewheel' );
			?>
			<script type="text/javascript">
			
				jQuery(function($)
Beispiel #7
0
							 
							<div class="ch-item<?php if ( $lightbox || $details || $title ) : ?> ch-item-hover<?php endif ?>" style="background: url('<?php yit_image( "id=$image_id&size=" . apply_filters( 'yit-portfolio-thumb_portfolio_4cols-image-size', 'thumb_portfolio_4cols' ) . "&output=url" ); ?>') no-repeat center;">
								<?php if ( $lightbox || $details || $title ) : ?>   
								<div class="ch-info">
									<?php if( $lightbox || $details ): $title_class = ''; ?>
									<div class="ch-info-icons">
										<?php if( $lightbox ): ?><a href="<?php echo $thumb ?>" rel="lightbox" class="ch-info-lightbox<?php if($video_url): ?>-video<?php endif ?>"><img src="<?php echo get_template_directory_uri() . '/images/icons/' .  ($video_url  ? 'play.png' : 'zoom.png') ?>" alt="<?php _e('Open Lightbox', 'yit') ?>" /></a><?php endif ?>
										<?php if( $details ): ?><a href="<?php echo $post_permalink ?>"><img src="<?php echo get_template_directory_uri() . '/images/icons/project.png' ?>" alt="" /></a><?php endif ?>
									</div>
									<?php else: $title_class = ' ch-info-text-noicons'; ?>
									<?php endif ?>
									
									<?php if( $title ): ?> 
									<div class="ch-info-text<?php echo $title_class ?>">
										<p class="title"><?php yit_work_the('title') ?></p>
										<p class="subtitle"><?php yit_work_the('subtitle') ?></p>
									</div>
									<?php endif ?>
								</div>
								<?php endif ?>
							</div>
                        </li>       
                        <?php if( ($i++ % 4) == 0 ) echo '<hr />' ; endwhile ?>
                        <hr />
                    </ul>
                    <?php yit_portfolio_pagination() ?>
               </div>

<?php if( yit_work_get('filter_active') ): ?>
<script type="text/javascript">
jQuery(document).ready(function($){