我有一个wordpress网站,在媒体寺庙共享主持。当我的网站在共享主机上时,wordpress作者框不会出现。我已将我的网站从共享主机转移到我的服务器上。在我转移我的网站后,双作者框出现在我的博客页面上。所有密码都一样。原因何在?
谢谢。
发布于 2015-08-10 13:00:48
我用的是Gameleon主题。224-261之间的Single.php代码行:
<?php wp_link_pages( array( 'before' => '<div class="pagination">' . __( 'Pages:', 'gameleon' ), 'after' => '</div>' ) ); ?>
<div class="clearfix"></div>
</div><?php // end of .post-entry / ?>
</div><?php // end of #post-the_ID(); / ?>
</div><?php // end of td-wrap-content / ?>
</div><?php // end of td-content-inner / ?>
<?php if( !function_exists( 'wpsabox_author_box' ) and get_the_author_meta( 'description' ) != '' and gameleon_get_option( 'td_post_author_box' ) == 1 ) : ?>
<div class="td-content-inner-single">
<div id="author-meta">
<?php if( function_exists( 'get_avatar' ) ) {
echo get_avatar( get_the_author_meta( 'user_email' ), '100' );
} ?>
<div class="about-author"><?php the_author_posts_link(); ?></div>
<div class="auth-desc vcard author"><span class="fn"><?php the_author_meta( 'description' ) ?></span></div>
<div class="clearfix"></div>
</div><?php // end of #author-meta / ?>
</div><?php // end of td-content-inner-single / ?>
<?php endif; // no description, no author's meta ?>
<?php if ( function_exists( 'wpsabox_author_box' ) ) :?>
<div class="td-content-inner-single-sabox">
<?php echo wpsabox_author_box(); // Our Simple Author Box plugin ?>
</div><?php // end of td-content-inner-single-sabox / ?>
<?php endif; ?>
<?php echo gameleon_related_posts(); ?>我删除了"php echo wpsabox_author_box();//我们的简单作者框插件?>“,但是,这只删除了一个作者框,其他的作者框仍然出现在站点上。
https://wordpress.stackexchange.com/questions/198116
复制相似问题