• 微信号:Zh-y9213
您当前的位置:爱资源分享网 > > 网站源码 > 网站模板

最新列表页面右上角3个带详细教程彩色圆点效果功能齐全 WordPress主题美化

栏目:网站模板时间:2021-06-15 00:44阅读数:55人阅读

教程开始

 

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>后面并保存

效果样式


资源均来自第三方,谨慎下载,前往第三方网站下载

本站所有文章、数据、图片均来自互联网,一切版权均归源网站或源作者所有。

如果侵犯了你的权益请来信告知我们删除。邮箱:737597453@qq.com