Created
March 22, 2021 07:47
-
-
Save thecodepoetry/0f03ad04bb79355bc80ae53ceeb80511 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Classic layout. | |
* | |
* @package The7pt | |
*/ | |
defined( 'ABSPATH' ) || exit; | |
$rollover_class = ''; | |
if ( ! empty( $icons_html ) ) { | |
$rollover_class = 'rollover-active'; | |
} | |
?> | |
<?php if ( ! empty( $post_media ) ) : | |
$post_media = str_replace('nofollow', '', $post_media); | |
?> | |
<div class="post-thumbnail-wrap <?php echo $rollover_class; ?>"> | |
<div class="post-thumbnail"> | |
<?php | |
echo $post_media; | |
if ( ! empty( $icons_html ) ) { | |
echo '<div class="project-links-container">' . $icons_html . '</div>'; | |
} | |
?> | |
</div> | |
</div> | |
<?php endif; ?> | |
<div class="post-entry-content"> | |
<?php | |
if ( ! empty( $post_title ) ) { | |
echo $post_title; | |
} | |
if ( isset( $post_meta ) ) { | |
echo $post_meta; | |
} | |
if ( ! empty( $post_excerpt ) ) { | |
echo '<div class="entry-excerpt">'; | |
echo $post_excerpt; | |
echo '</div>'; | |
} | |
if ( isset( $details_btn ) ) { | |
echo $details_btn; | |
} | |
?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment