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'); ?> <div class="portfolio-item slide-item <?php echo $catsClass; ?>"> <div class="portfolio-image"> <?php if (has_post_thumbnail( $postId ) ): ?> <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array(540,540) ); ?> <img src="<?php echo $image[0]; ?>" /> <?php endif; ?> <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 if(etheme_get_option('project_name')): ?> <h5><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h5> <?php endif; ?> <?php if(etheme_get_option('project_excerpt')): ?> <?php the_excerpt(); ?> <?php endif; ?> </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]