first commit

This commit is contained in:
Rachit Bhargava
2023-07-21 17:12:10 -04:00
parent d0fe47dde4
commit 5d0f0734d8
14003 changed files with 2829464 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
<?php
/**
* @package thbusiness
*/
?>
<div class="col-md-4 col-sm-4 col-xs-12">
<article class="blogpostcol" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php thbusiness_featured_image(); ?>
<header class="entry-header" id="blogentry">
<?php the_title( sprintf( '<h2 class="blog-title" id="blogtitle"><a href="%s" rel="bookmark">', esc_url( get_permalink()) ), '</a></h2>' ); ?>
<?php if ( 'post' == get_post_type() ) : ?>
<div class="entry-meta" id="blogmeta">
<?php thbusiness_posted_on();
if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'thbusiness' ), __( '1 Comment', 'thbusiness' ), __( '% Comments', 'thbusiness' ) ); ?></span>
<?php endif; ?>
</div><!-- .entry-meta -->
<?php endif; ?>
</header><!-- .entry-header -->
<?php if ( is_search() ) : // Only display Excerpts for Search ?>
<div class="entry-summary">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
<?php else : ?>
<div class="entry-content" id="blogcontent">
<?php the_excerpt(); ?>
<?php
echo '<div><a class="moretag" id="blogread" href="'. get_permalink( get_the_ID() ) . '">' . __( 'Read More ', 'thbusiness') . '</a></div>';
?>
</div><!-- .entry-content -->
<?php endif; ?>
<footer class="entry-footer" id="blogfooter">
<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
<?php
/* translators: used between list items, there is a space after the comma */
$categories_list = get_the_category_list( __( ', ', 'thbusiness' ) );
if ( $categories_list && thbusiness_categorized_blog() ) :
?>
<span class="cat-links">
<?php echo $categories_list; ?>
</span>
<?php endif; // End if categories ?>
<?php
/* translators: used between list items, there is a space after the comma */
$tags_list = get_the_tag_list( '', __( ', ', 'thbusiness' ) );
if ( $tags_list ) :
?>
<span class="tags-links">
<?php echo $tags_list; ?>
</span>
<?php endif; // End if $tags_list ?>
<?php endif; // End if 'post' == get_post_type() ?>
<?php edit_post_link( __( 'Edit', 'thbusiness' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-footer -->
</article><!-- #post-## --></div>