RIPRO主题美化-列表页面右上角3个彩色圆点效果 WordPress主题美化

教程开始

1、找到wp-content/themes/ripro/assets/css/diy.css并将附件内的diy.css内容整体复制进去并保存

2、找到/wp-content/themes/ripro/inc/theme-functions.php并搜索

entry-meta

可以看到以下代码

<div class="entry-meta">
        <?php if ( $options['author'] ) :
          $author_id = get_post_field( 'post_author', $post_id ); ?>
          <span class="meta-author">
            <a<?php echo _target_blank();?> href="<?php%20echo%20esc_url(%20get_author_posts_url(%20get_the_author_meta(%20'ID',%20$author_id%20)%20)%20);%20?>">
              <?php
                echo get_avatar( get_the_author_meta( 'email', $author_id ), '40', null, get_the_author_meta( 'display_name', $author_id ) );
                echo get_the_author_meta( 'display_name', $author_id );
              ?>
            </a>
          </span>

并将附件内的theme-functions.php内容整体复制进去放在最后面的</span>后面并保存

效果样式

RIPRO主题美化-列表页面右上角3个彩色圆点效果 WordPress主题美化

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
上一篇

RIPRO主题美化-首页专题分类滑块WordPress主题美化教程

2020-5-10 4:01:15

下一篇

最新易代挂主站+总控制端源码PC+电脑双版本(补充去后门版)

2019-6-15 4:39:01