第一步:主题目录打开 functions.php ,在最后添加如下代码/*开启wordpress友情链接管理*/
add_filter( ‘pre_option_link_manager_enabled’, ‘__return_true’ );
第三步:主题目录 -> assets -> css -> diy.css 添加如下样式 .col–xs–12.friend–links {
padding: 14px;
}
.codesign–fl {
display: flex;
list–style: none;
padding: 0;
margin: 0;
font–size: 13px;
}
.codesign–fl li{
margin–left: 10px;
}
.codesign–fl a{
color: #949494;
}
.codesign–fl a:hover{
color: #058ff9;
}
.codesign–dw{
border: 1px dashed #ccc;
background–color: #f7f8fa;
text–shadow: #fff 0px 1px 0px;
}
.ripro–dark .codesign–dw{
border: 1px dashed #44444487;
background–color: #2d2d2d;
text–shadow: #000 0px 1px 0px;
}
Ripro主题修改教程 友情链接修改美化
|