大家是否注意过 WordPress 后台仪表盘和评论菜单下面有个空的分隔符,而其它菜单下面却没有,观感上看起来就比较突兀,分隔符没有任何样式只有个高度没有保留的意义,荒岛本次带来 WordPress 后台菜单删除分隔符空格的教程,只要将下面的代码添加到主题的「functions.php」文件即可。
// 荒岛一座藏有宝藏的小岛 function connector() { if (get_option('blank_connector')) {echo '';}else{echo ' ';} echo get_option('connector'); if (get_option('blank_connector')) {echo '';}else{echo ' ';} }宝藏内容来自荒岛-https://x-imagine.com/wordpress-delimiter-no-spaces.html宝藏内容来自荒岛-https://x-imagine.com/wordpress-delimiter-no-spaces.html
请按 Ctrl+D 收藏荒岛分享给好友 如您发现本文件已经失效无法下载请联系站长修正
荒岛公众号
扫一扫关注

HDsoft27
公众号ID已复制,前往微信关注...
荒岛小程序
扫一扫关注

ximagine
哔哩姬ID已复制,前往B站关注...