ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
``` // set different colors for pages/posts in different statuses add_action( 'admin_footer', 'so_posts_status_color' ); function so_posts_status_color() { ?> <style> .status-draft { background:lightblue!important; } .status-future { background:lightgreen!important; } .status-pending { background:pink!important; } .status-private { background:lightyellow!important; } .status-publish { background:aqua!important; } .status-publish.post-password-required { background:orange!important; } .status-publish.status-sticky { background-color:deepskyblue!important; } </style> <?php } ```