Skip to content

Instantly share code, notes, and snippets.

@salehahmadbabu
Created January 3, 2018 06:05
Show Gist options
  • Save salehahmadbabu/241b5b4078b6058109106042834719bf to your computer and use it in GitHub Desktop.
Save salehahmadbabu/241b5b4078b6058109106042834719bf to your computer and use it in GitHub Desktop.
<?php get_header(); ?>
<!-- ::::::::::::::::::::: Page Title Section:::::::::::::::::::::::::: -->
<section class="page-title">
<div class="container">
<div class="row">
<div class="col-md-12">
<!-- breadcrumb content -->
<div class="page-breadcrumbd">
<h2>News &amp; Press</h2>
<p><a href="<?php echo site_url(); ?>">Home</a> / Blog</p>
</div><!-- end breadcrumb content -->
</div>
</div>
</div>
</section><!-- end breadcrumb -->
<section class="blog section-padding">
<div class="container">
<div class="row">
<div class="col-md-offset-2 col-md-8 col-lg-offset-3 col-lg-6">
<!-- blog title -->
<div class="template-title text-center">
<h2>News Blog</h2>
<p>Holisticly transform excellent systems rather than collaborative leadership. Credibly pursue compelling outside the box.</p>
</div>
</div>
</div>
<div class="row">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<!-- single blog item -->
<div class="col-sm-6 col-md-4">
<div class="blog-item">
<!-- blog thumbnail -->
<div class="blog-thumb">
<?php the_post_thumbnail( 'neuron_blog_thumb' ); ?>
</div>
<div class="blog-content">
<!-- blog title -->
<header class="blog-header">
<div class="tag">
<?php neuron_entry_footer(); ?>
</div>
<div class="blog-title">
<h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
</div>
</header>
<!-- blog content -->
<div class="entry-content">
<?php the_excerpt(); ?>
<a href="<?php the_permalink(); ?>">Read More</a>
</div>
</div>
</div>
</div>
<?php endwhile; else :?>
<div class="col-md-12">
<h1>No Post Found!</h1>
</div>
<?php endif;?>
</div>
</div>
</section>
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment