有很多小伙伴看到辣条科技「WZZTI.COM」列表页面右上角有3个彩色圆点效果,今天把教程分享给大家!
教程开始
1、找到wp-content/themes/ripro/assets/css/diy.css并将附件内的diy.css内容整体复制进去并保存
2、找到/wp-content/themes/ripro/inc/theme-functions.php并搜索
entry-meta可以看到以下代码
divclass=entry-meta?phpif($options[author]):$author_id=get_post_field(post_author,$post_id);?spanclass=meta-authora?phpecho_target_blank();?href=?phpechoesc_url(get_author_posts_url(get_the_author_meta(ID,$author_id)));??phpechoget_avatar(get_the_author_meta(email,$author_id),40,null,get_the_author_meta(display_name,$author_id));echoget_the_author_meta(display_name,$author_id);?/a/span3、并将附件内的theme-functions.php内容整体复制进去放在最后面的/span后面并保存
4、如若转载请保留本站版权:设计来源于站壳网由辣条科技「WZZTI.COM」修改首发。
除非注明,否则均为辣条科技「WZZTI.COM」原创文章,转载必须以链接形式标明本文链接。