WordPress主题风格RIPRO,应用WordPress程序流程建网站的小伙伴应当都了解,至少听闻过,这款主题风格或是很火热的,也正由于ripro主题风格的用户数量比较多,因此在网上也出現了许多提升后的ripro子主题,及其有关的一些提升/装饰实际操作。
今日奥迪卡盟要跟各位共享的便是RIPRO免费主题的一个实际操作,给ripro主题风格的目录网页页面右上方再加上五颜六色小圆点的成效的完成方式 。
实例教程流程
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 echo esc_url( get_author_posts_url( get_the_author_meta( 'ID', $author_id ) ) ); ?>">
<?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>
3、并将配件内的theme-functions.php內容总体拷贝进来放到最终面的后边并储存
4、倘若转截请保存本网站出版权:设计方案来自站壳网由站壳网独家代理制做先发。
款式实际效果截屏
奥迪卡盟-配件下载链接:ripro装饰目录网页页面右上方五颜六色小圆点实际效果配件