[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
Data Shendy
/
Back up Shendy
/
DATA
/
Envato Assets
/
Maret 2021
/
main
/
topseo
/
[
Home
]
File: content-gallery.php
<?php /** * The template for displaying posts in the Gallery post format */ $galleries = (function_exists('fw_get_db_post_option') ? fw_get_db_post_option($post->ID, 'galleries') : ''); ?> <div itemscope itemtype="https://schema.org/Blog"> <article id="post-<?php the_ID(); ?>" <?php post_class('blog-post post-type-gallery hentry'); ?> itemid="<?php echo get_permalink(); ?>" itemscope itemtype="http://schema.org/BlogPosting"> <div class="flw" itemprop="mainEntityOfPage"> <!-- Publisher --> <div itemprop="publisher" itemscope="itemscope" itemtype="https://schema.org/Organization"> <div itemprop="logo" itemscope="itemscope" itemtype="https://schema.org/ImageObject"> <meta itemprop="url" content="<?php echo esc_url(home_url('/')); ?>" /> <meta itemprop="width" content="100" /> <meta itemprop="height" content="100" /> </div> <meta itemprop="name" content="<?php the_author(); ?>" /> </div> <!-- //Publisher --> <!-- Modified date --> <span itemprop="dateModified" class="screen-reader-text"> <time datetime="<?php echo esc_attr( get_the_modified_time( 'Y-m-d' ) ); ?>"> <?php the_modified_date(); ?> </time> </span> <span class="screen-reader-text" itemprop="author"><?php the_author(); ?></span> <span class="screen-reader-text" itemprop="datePublished" content="<?php echo get_the_time('c'); ?>"></span> <div class="screen-reader-text" itemprop="image" itemscope itemtype="http://schema.org/ImageObject"> <img src="<?php echo get_template_directory_uri() . '/images/thumbnail-default.jpg'; ?>" alt="<?php esc_attr_e('Blog thumbnail', 'topseo'); ?>"> <meta itemprop="url" content="<?php echo get_template_directory_uri() . '/images/thumbnail-default.jpg'; ?>" /> <meta itemprop="width" content="870" /> <meta itemprop="height" content="420" /> </div> <div class="entry-content"> <?php if(!empty($galleries)) : ?> <div class="blog-post-cover"> <?php // date time - comment topseo_blog_post_top_left_info(); ?> <div class="blog-post-gallery"> <?php foreach ($galleries as $gallery) : $image_alt = (get_post_meta( $gallery['attachment_id'], '_wp_attachment_image_alt', true) != '') ? get_post_meta( $gallery['attachment_id'], '_wp_attachment_image_alt', true) : 'Blog thumbnail'; ?> <div><img src="<?php echo esc_url($gallery['url']); ?>" alt="<?php echo esc_attr($image_alt); ?>"></div> <?php endforeach; ?> </div> </div> <?php endif; ?> <div class="blog-post-info"> <?php // detect page template topseo_blog_grid_template(); // author - category top_seo_post_by(); ?> <div class="blog-post-sumary"> <header> <?php topseo_post_title(); ?> </header> <?php if(is_single()) : echo '<div class="ht-content" itemprop="description">'; the_content(); wp_link_pages(); echo '</div>'; ?> <?php else : ?> <div class="blog-post-some-text"><?php the_excerpt(); ?></div> <?php endif; ?> <?php if(!is_single()) : ?> <div class="blog-btn-read-more"><a itemprop="url" href="<?php the_permalink(); ?>" class="ion-ios-list-outline"><?php esc_html_e('READ MORE', 'topseo'); ?></a></div> <?php endif; ?> </div> </div> </div> </div> </article> </div>