PATH:
home
/
letacommog
/
pymreception1
/
wp-content
/
themes
/
legenda
<?php if ( etheme_get_option( 'enable_portfolio' ) == 'off' ): ?> <p class="alert-info"><?php esc_html_e( 'To use "Portfolio Template" enable "Portfolio" in the MODULE section of theme options', 'legenda' ); ?></p> <?php endif; $postId = get_the_ID(); $categories = wp_get_post_terms($postId, 'categories'); $catsClass = ''; foreach($categories as $category) { $catsClass .= ' sort-'.$category->slug; } $columns = etheme_get_option('portfolio_columns'); $lightbox = etheme_get_option('portfolio_lightbox'); if(isset($_GET['col'])) { $columns = $_GET['col']; } switch($columns) { case 2: $span = 'span6'; break; case 3: $span = 'span4'; break; case 4: $span = 'span3'; break; default: $span = 'span4'; break; } $width = etheme_get_option('portfolio_image_width'); $height = etheme_get_option('portfolio_image_height'); if ( ! $width && ! $height ) { $size = 'medium'; } else { $size = array( $width, $height ); } ?> <div class="portfolio-item columns-count-<?php echo $columns; ?> <?php echo $span; ?> <?php echo $catsClass; ?>"> <?php if ( has_post_thumbnail() ): ?> <div class="portfolio-image"> <?php $img = new_etheme_get_image( get_post_thumbnail_id(), $size ); ?> <a href="<?php the_permalink(); ?>"><?php echo $img; ?></a> <div class="portfolio-mask"> <div class="mask-content"> <?php if($lightbox): ?><a href="<?php the_post_thumbnail_url(); ?>" rel="lightbox"><i class="icon-resize-full"></i></a><?php endif; ?> <a href="<?php the_permalink(); ?>"><i class="icon-link"></i></a> </div> </div> </div> <?php endif; ?> <div class="portfolio-descr"> <?php if(etheme_get_option('project_name')): ?> <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3> <?php endif; ?> <?php if(etheme_get_option('project_byline')): ?> <div class="post-info"> <span class="posted-on"> <?php _e('Posted on', 'legenda') ?> <?php the_time(get_option('date_format')); ?> <?php _e('at', 'legenda') ?> <?php the_time(get_option('time_format')); ?> </span> <span class="posted-by"> <?php _e('by', 'legenda');?> <?php the_author_posts_link(); ?></span> / <span class="posted-in"><?php print_item_cats($postId); ?></span> </div> <?php endif; ?> <?php if(etheme_get_option('project_excerpt')): ?> <?php the_excerpt(); ?> <?php endif; ?> </div> </div>
[+]
..
[-] taxonomy.php
[edit]
[-] content-timeline.php
[edit]
[-] portfolio-slide.php
[edit]
[-] comments.php
[edit]
[+]
bbpress
[-] sidebar-custom.php
[edit]
[-] blank.php
[edit]
[-] content-portfolio.php
[edit]
[-] searchform.php
[edit]
[-] footer.php
[edit]
[-] single-etheme_portfolio.php
[edit]
[-] default.custom.css
[edit]
[-] screenshot.png
[edit]
[-] sidebar-shop.php
[edit]
[-] category.php
[edit]
[-] author.php
[edit]
[-] archive.php
[edit]
[-] attachment.php
[edit]
[-] sidebar.php
[edit]
[-] search.php
[edit]
[-] content-grid.php
[edit]
[-] page.php
[edit]
[+]
framework
[-] tag.php
[edit]
[+]
option-tree
[+]
woocommerce
[-] style.css
[edit]
[-] woosearchform.php
[edit]
[-] functions.php
[edit]
[-] wpml-config.xml
[edit]
[-] index.php
[edit]
[-] header.php
[edit]
[-] 404.php
[edit]
[+]
languages
[-] taxonomy-brand.php
[edit]
[-] portfolio.php
[edit]
[-] rtl.css
[edit]
[+]
css
[+]
js
[-] single.php
[edit]
[+]
images
[-] contacts.php
[edit]
[-] et-registration.php
[edit]
[-] content.php
[edit]
[-] search-results.php
[edit]