<!-- Item content --> <div class="xt-share-content"> <h2 class="xt-share-albums-title">TA的更多专辑 <a target="_blank" href="<?php xt_the_user_url(); ?> #album" class="xt-share-albums-more">查看全部</a></h2> <?php $isBig = xt_albumdisplay() == 'big' ? true : false; while (xt_have_albums()) { xt_the_album(); $_picurls = $isBig ? get_the_album_picurls_big() : get_the_album_picurls_small(); ?> <div class="xt-share-albums-list"> <h3 class="xt-share-album-title"> <span class="xt-r"><?php echo get_the_album_sharecount(); ?> 个分享</span><a href="<?php echo get_the_album_url(); ?> "><?php echo wp_trim_words(get_the_album_title(), 10); ?> </a> </h3> <ul> <li><a href="<?php echo get_the_album_url(); ?> "> <?php
function the_album_sharecount() { echo get_the_album_sharecount(); }