<?php
/**
* You've found a site that's being developed still.
* It's currently without any actual content or organization since it is still being setup.
* You are more than welcome to browse around however.
*/
?>
<div id="primary" class="content-area">
<!-- site-content -->
<div id="content" class="site-content" role="main"> <!-- layout-fixed -->
<div class="layout-fixed"> <!-- .hentry -->
<article class="hentry post">
<!-- .entry-header -->
<header class="entry-header">
<!-- .entry-title -->
<h1 class="entry-title">
<?php the_title(); ?>
</h1>
<!-- .entry-meta -->
<div class="entry-meta">
<span class="entry-date">
<time class="entry-date" datetime="<?php echo get_published_time_iso() ?>">
<?php
echo get_post_time('F j, Y');
?>
</time>
</span>
<span class="comment-link">
<a href="#comments">
<?php comments_number('0 Comments', '1 Comment', '% Comments'); ?>
</a>
</span>
<span class="read-time"><span class="eta"></span> read</span>
<!-- <span class="cat-links">
<a href="#" title="View all posts in Travel" rel="category tag">
</a>
</span> -->
<?php $categories = get_the_category(); ?>
<span class="cat-links">
<?php foreach ($categories as $category) { ?>
<a href="<?php echo get_category_link($category->term_id); ?>"
title="View all posts in <?php echo $category->name; ?>" rel="category tag">
<?php echo $category->name; ?>
</a>
<?php } ?>
</span>
<!--<span class="edit-link">
<a class="post-edit-link" href="#">Edit</a>
</span>-->
</div>
<!-- .entry-meta -->
</header>
<!-- .entry-header -->
<!-- .featured-image -->
<div class="featured-image">
<img src=<?php if (has_post_thumbnail()) { the_post_thumbnail_url(); } else { echo get_template_directory_uri()
. '/images/blog/01.jpg' ; } ?> alt="blog-image">
</div>
<!-- .featured-image -->
<div class="entry-content">
<?php the_content(); ?>
</div>
</article>
</div>
Discover more from Dev Centre and Blog by Ziping Liu
Subscribe to get the latest posts sent to your email.
Post Tags
-
Hi, this is a comment.
To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
Commenter avatars come from Gravatar. -
Hello
-
What?
-
Ok
-
WordPress is just bloatware.
-
-
-
Have something to say? Leave a comment, make yourself heard.