2018-05-26 18:59:29 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* NEXT / PREVIOUS POSTS (精华版)
|
|
|
|
*/
|
|
|
|
|
|
|
|
if ( akina_option('post_nepre') == 'yes') {
|
|
|
|
?>
|
|
|
|
<section class="post-squares nextprev">
|
|
|
|
<div class="post-nepre <?php if(get_next_post()){echo 'half';}else{echo 'full';} ?> previous">
|
2022-10-23 22:01:34 +08:00
|
|
|
<?php previous_post_link('%link','<div class="background lazyload" style="background-image:url('.SAKURA_STATIC_ASSETS_HOST.'/gh/mashirozx/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg);" data-src="'.get_prev_thumbnail_url().'"></div><span class="label">Previous Post</span><div class="info"><h3>%title</h3><hr></div>') ?>
|
2018-05-26 18:59:29 +08:00
|
|
|
</div>
|
|
|
|
<div class="post-nepre <?php if(get_previous_post()){echo 'half';}else{echo 'full';} ?> next">
|
2022-10-23 22:01:34 +08:00
|
|
|
<?php next_post_link('%link','<div class="background lazyload" style="background-image:url('.SAKURA_STATIC_ASSETS_HOST.'/gh/mashirozx/sakura@static/img/svg/loader/orange.progress-bar-stripe-loader.svg);" data-src="'.get_next_thumbnail_url().'"></div><span class="label">Next Post</span><div class="info"><h3>%title</h3><hr></div>') ?>
|
2018-05-26 18:59:29 +08:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<?php } ?>
|