Last active
August 29, 2015 13:56
-
-
Save lunaluna/9197003 to your computer and use it in GitHub Desktop.
【WordPress】 カスタム投稿タイプの記事数表示 - アイコンを揃える
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// アイコンを変更 | |
add_action( 'admin_print_styles', 'fuga_dashboard_print_styles' ); | |
function fuga_dashboard_print_styles() { | |
?> | |
<style> | |
/* | |
#dashboard_right_now li a.xxx-count:before, | |
ここの「xxx」をそれぞれの投稿タイプ名に。 | |
*/ | |
#dashboard_right_now li a.voice-count:before, | |
#dashboard_right_now li a.product-count:before { content: '\f109'; } | |
</style> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment