企业🤖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 } ```