想为你的博客添加滚动公告栏,不妨试试 Continuous announcement scroller (以下简称 CAS)或 News announcement scroll(以下简称 NAS)。两者都可以添加一个滚动公告,支持设置滚动间隔时间、排序等,可以通过小工具或php函数调用。不同的是,CAS是连续滚动显示多条公告(目前不支持设置公告过期时间),NAS每次只滚动一条(支持设置公告过期时间)。
下面分别为 CAS 和 NAS 的小工具演示:

在后台插件安装界面分别搜索两个插件的名字就可以在线安装,或者下载 CAS 、NAS 。两个插件后台都是英文的(不支持语言包汉化)
来源:
https://www.wpdaxue.com/announcement-scroll.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_33194.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57