Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /var/www/web284/html/wp-content/themes/splendor/framework/post-format-medium/ |
Current File : //var/www/web284/html/wp-content/themes/splendor/framework/post-format-medium/format-gallery.php |
<?php global $smof_data; ?> <?php $large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'large'); ?> <?php $images = get_children(array('post_parent' => get_the_ID(), 'post_type' => 'attachment', 'post_mime_type' => 'image' )) ?> <div class="row-fluid"> <div class="span12"> <div class="row-fluid"> <div class="span5"> <div class="view view-first <?php if ($smof_data['blog_image_hover_icons'] == "Zoom icon only") { ?>nolink <?php } ?> <?php if ($smof_data['blog_image_hover_icons'] == "Link icon only") { ?>noinfo <?php } ?>"> <img src="<?php echo $large_image_url[0]; ?>" alt="" /> <div class="mask"> <?php if ($smof_data['blog_image_hover_icons'] == "Zoom icon + Link icon") { ?> <a href="<?php echo $large_image_url[0]; ?>" rel="prettyPhoto[product-gallery<?php echo get_the_ID();?>]" title="<?php the_title(); ?>" class="info"></a> <a href="<?php echo get_permalink(); ?>" class="link"></a> <?php } ?> <?php if ($smof_data['blog_image_hover_icons'] == "Zoom icon only") { ?> <a href="<?php echo $large_image_url[0]; ?>" rel="prettyPhoto[product-gallery<?php echo get_the_ID();?>]" title="<?php the_title(); ?>" class="info"></a> <?php } ?> <?php if ($smof_data['blog_image_hover_icons'] == "Link icon only") { ?> <a href="<?php echo get_permalink(); ?>" class="link"></a> <?php } ?> </div> </div> <div class="row-fluid" style=" margin-bottom:15px; margin-top:5px;"> <?php $i=0; sort($images); foreach( $images as $image ){ if ($i != 0 ){ ?> <div class="span3"> <?php $imageUrl = wp_get_attachment_image_src( $image->ID, 'full' ); echo '<a href="'; echo $imageUrl[0]; echo '" rel="prettyPhoto[product-gallery'; echo get_the_ID(); echo']"><img rel="prettyPhoto[product-gallery]" src="'; echo $imageUrl[0]; echo '"/></a> '; ?> </div> <?php } $i++; } ?> </div> </div> <div class="span7"> <div class="blog_item_content"> <div class="blog_head"> <h2 class="small_width"><a href="<?php echo the_permalink(); ?>"><?php the_title(); ?> </a></h2> <div class="meta"> <?php if($smof_data['blog_show_posts_date'] == true ) { ?><span><?php if($smof_data['blog_show_date_icon'] == true ) { ?><i class="icon-calendar icon-white"></i> <?php } ?><?php the_time('d') ?> <?php the_time('M') ?> <?php the_time('Y') ?></span><?php } ?> <?php if($smof_data['blog_show_posts_meta_author'] == true ) { ?><span <?php if(($smof_data['blog_show_posts_meta_category'] == false ) & ($smof_data['blog_show_posts_meta_comments'] == false )) { ?> class="last_item"<?php } ?> >By <?php the_author_posts_link() ?></span><?php } ?> <?php if($smof_data['blog_show_posts_meta_category'] == true ) { ?><span <?php if(($smof_data['blog_show_posts_meta_comments'] == false )) { ?> class="last_item"<?php } ?>><?php $tag = get_the_tags(); if (! $tag) { ?> There are no tags<?php } else { ?><?php the_tags(''); ?><?php } ?></span><?php } ?> <?php if($smof_data['blog_show_posts_meta_comments'] == true ) { ?><span class="last_item"><a href="<?php the_permalink() ?>#comments"><?php comments_number('0','1','%')?> comments</a></span><?php } ?> </div> </div> <div> <?php the_content('<div class="read_more"><a href="'. get_permalink($post->ID) . '">'. __("Read More","commander") .'</a></div>'); ?> </div> </div> </div> </div> </div> </div>
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare