一边帮亲戚刷机,一边帮朋友改WP, 两边忙不过来了。
<span class="author"><?php printf(__('Posted by %1$s at %2$s', 'suf_theme'), '<a href="'.get_author_posts_url(get_the_author_meta('ID')).'">'.get_the_author_meta('display_name').'</a>', sprintf(get_the_time(get_option('time_format')))); ?> <?php the_time_ago('d M, Y'); ?></span>
// 直接去掉sprintf这一段,报错,连同逗号什么的,去掉,WP整站崩溃了。。。还是求助吧。
最后送给对子大家看:
RT @xie107: 【程序猿】上联:为系统而生,为框架而死,为debug奋斗一辈子 下联:吃符号的亏,上大小写的当,最后死在需求上! 横批:杯具程序员。
谢谢帮忙!
<span class="author"><?php printf(__('Posted by %1$s at %2$s', 'suf_theme'), '<a href="'.get_author_posts_url(get_the_author_meta('ID')).'">'.get_the_author_meta('display_name').'</a>', sprintf(get_the_time(get_option('time_format')))); ?> <?php the_time_ago('d M, Y'); ?></span>
// 直接去掉sprintf这一段,报错,连同逗号什么的,去掉,WP整站崩溃了。。。还是求助吧。
最后送给对子大家看:
RT @xie107: 【程序猿】上联:为系统而生,为框架而死,为debug奋斗一辈子 下联:吃符号的亏,上大小写的当,最后死在需求上! 横批:杯具程序员。
谢谢帮忙!