PATH:
home
/
letacommog
/
pymreception1
/
wp-content
/
themes
/
legenda
<?php $post_format = get_post_format(); $slider_id = rand(100,10000); $postClass = et_post_class(); $postClass[] = 'post-grid span4'; $read_more = et_get_read_more(); $post_content = get_the_content( $read_more ); $gallery_filter = et_gallery_from_content( $post_content ); $lightbox = etheme_get_option('blog_lightbox'); ?> <article <?php post_class($postClass); ?> id="post-<?php the_ID(); ?>" > <?php if($post_format == 'gallery'): ?> <?php if(count($gallery_filter['ids']) > 0): ?> <div class="nav-type-small<?php if (count($gallery_filter['ids'])>1): ?> images-slider<?php endif; ?> slider_id-<?php echo $slider_id; ?>"> <?php foreach($gallery_filter['ids'] as $attach_id): ?> <div> <?php echo wp_get_attachment_image($attach_id, 'large'); ?> </div> <?php endforeach; ?> </div> <script type="text/javascript"> <?php et_owl_init( '.slider_id-' . $slider_id ); ?> </script> <?php endif; ?> <?php elseif(has_post_thumbnail()): ?> <div class="post-images"> <a href="<?php the_permalink(); ?>"> <?php the_post_thumbnail(); ?> </a> <div class="blog-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="post-information <?php if (!has_post_thumbnail()): ?>border-top<?php endif ?>"> <?php if($post_format != 'quote'): ?> <h3 class="post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3> <?php et_byline( array( 'author' => 1 ) ); ?> <?php endif; ?> <?php if($post_format != 'gallery'): ?> <div class="post-description"> <?php the_excerpt(); ?> <a href="<?php the_permalink(); ?>" class="more-link"><span class="button right read-more"><?php _e('Read More', 'legenda'); ?></span></a> </div> <?php elseif($post_format == 'gallery'): ?> <div class="post-description"> <?php echo $gallery_filter['filtered_content']; ?> </div> <?php endif; ?> <div class="clear"></div> </div> <div class="clear"></div> </article>
[+]
..
[-] 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]