| Server IP : 69.39.225.240 / Your IP : 216.73.216.138 Web Server : Apache System : Linux bronze7.serverhost.net 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : reademotions ( 1074) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/reademotions/www/wp-content/plugins/bb-plugin/modules/post-slider/includes/ |
Upload File : |
<?php $post_id = get_the_ID(); ?>
<div <?php $module->render_post_class(); ?> <?php FLBuilder::print_schema( ' itemscope="itemscope" itemtype="' . FLPostGridModule::schema_itemtype() . '"' ); ?> > <?php // @codingStandardsIgnoreLine ?>
<?php
FLPostGridModule::schema_meta();
// render featured images
if ( isset( $settings->show_thumb ) && 'show' == $settings->show_thumb ) {
if ( has_post_thumbnail( $post_id ) ) {
echo $module->render_mobile_img( $post_id );
}
if ( has_post_thumbnail( $post_id ) ) {
echo $module->render_img( $post_id );
}
}
?>
<div class="fl-post-slider-content">
<?php $module->render_post_title( $post_id ); ?>
<?php if ( $settings->show_author || $settings->show_date || $settings->show_comments ) : ?>
<div class="fl-post-slider-feed-meta">
<?php if ( $settings->show_author ) : ?>
<span class="fl-post-slider-feed-author">
<?php
printf(
/* translators: %s: Author name */
_x( 'By %s', '%s stands for author name.', 'fl-builder' ),
'<a href="' . get_author_posts_url( get_the_author_meta( 'ID' ) ) . '"><span>' . get_the_author_meta( 'display_name', get_the_author_meta( 'ID' ) ) . '</span></a>'
);
?>
</span>
<?php endif; ?>
<?php if ( $settings->show_date ) : ?>
<?php if ( 1 == $settings->show_author ) : ?>
<span class="fl-sep"> | </span>
<?php endif; ?>
<span class="fl-post-slider-feed-date">
<?php FLBuilderLoop::post_date( $settings->date_format ); ?>
</span>
<?php endif; ?>
<?php if ( $settings->show_comments && comments_open() ) : ?>
<?php if ( 1 == $settings->show_author || $settings->show_date ) : ?>
<span class="fl-sep"> | </span>
<?php endif; ?>
<span class="fl-post-slider-feed-comments">
<?php comments_popup_link( __( '0 Comments', 'fl-builder' ), __( '1 Comment', 'fl-builder' ), __( '% Comments', 'fl-builder' ) ); ?>
</span>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if ( $settings->show_content || $settings->show_more_link ) : ?>
<div class="fl-post-slider-feed-content swiper-no-swiping" itemprop="text">
<?php if ( $settings->show_content ) : ?>
<?php FLBuilderLoop::the_excerpt(); ?>
<?php endif; ?>
<?php if ( $settings->show_more_link ) : ?>
<a class="fl-post-slider-feed-more" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php echo $settings->more_link_text; ?></a>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
</div>