Created
December 2, 2021 11:05
-
-
Save ifirmawan/cbf960cc0ac2700631799bd2efa179df to your computer and use it in GitHub Desktop.
Customization Sydney theme posts template
This file contains 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 | |
/** | |
* @package Sydney | |
*/ | |
?> | |
<?php do_action( 'sydney_before_loop_entry' ); ?> | |
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> | |
<?php // do_action( 'sydney_loop_post' ); ?> | |
<div class="row"> | |
<div class="col-xs-4"> | |
<a href="<?= the_permalink() ?>"> | |
<?= the_post_thumbnail(['class'=> 'media-object', 'height' => 180, 'width' => 180]) ?> | |
</a> | |
</div> | |
<div class="col-xs-8"> | |
<h4><?= the_title() ?></h4> | |
<?= the_excerpt() ?> | |
<?= the_shortlink(__('Read more')) ?> | |
</div> | |
</div> | |
</article><!-- #post-## --> | |
<?php do_action( 'sydney_after_loop_entry' ); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment