大家還記得Windows時代經典的藍白當機(藍屏)畫面麼?今天「暢想資源」就爲大家帶來如何將WordPress的404錯誤頁面修改爲Windows經典藍白當機畫面,讓你的訪客大吃一驚吧~
預覽
點擊「這裏」查看線上網頁預覽
教學
將下方代碼添加並替換到「404 錯誤(找不到檔案)模板 (404.php)」內的所有代碼(記得備份!),然後點擊 即可!
提示:大家可以自由更改代碼內的內容,不過推薦僅使用英文,因爲該字體其實是沒有中文庫的哦~
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
<!DOCTYPE html> <html> <head> <title>- ooops! -</title> <style> body { background:#0000aa; color:#ffffff; font-family:courier; font-size:12pt; text-align:center; margin:100px; } blink { color:yellow; } .neg { background:#fff; color:#0000aa; padding:2px 8px; font-weight:bold; } p { margin:30px 100px; text-align:left; } a,a:hover { color:inherit; font:inherit; } .menu { text-align:center; margin-top:50px; } .input_type { text-decoration: blink; } </style> </head> <body> <span class="neg">ERROR 404</span> <p> The page is missing or never was written. You can wait and<br /> see if it becomes available again, or you can restart your browser. </p> <p> * Send us an e-mail to notify this and try it later.<br /> * Press CTRL+ALT+DEL to restart your computer. You will<br /> lose unsaved information in any programs that are running. </p> Press any link to continue <span class="input_type">_</span> <div class="menu"> <a href="<?php echo get_site_url(); ?>">Home</a> </div> </body> </html> |
參考
[惡搞專用]把你的WordPress 404頁面變成當機的藍白畫面
好久没来了,没更新?
这个404有意思啊
这个页面访问的时候提示木马页面?是不是被人举报了
demo.arefly.com 這個頁面?請問是哪個DNS提供商顯示是木馬呢?

360浏览器会提示木马网站 不推荐打开 直接屏蔽哦
經典~ XD
这个404够酷炫~
还记得我不?Gravatar服务器在国内好像被墙了,头像显示不出来,你处理一下吧~
应该换成win8的
这个有意思,收藏先!
我去脸书看你了,满满的部落格宣传页呀,哈哈,差评~
马上关机,重新启动
PS:話說你看到IE最近爆出的全系列漏洞沒有?真的可以直接訪問一個網頁而是整個電腦藍屏當機耶...
这风格好复古
就这么喜欢蓝屏么= =
这个还没有遇到过,O(∩_∩)O~
路过看看
佷有特色的404頁,但會否嚇走訪客。
话说看见蓝屏就烦!

Not Found KeyBoard,
Please Press F1 Setup BIOS or Press F2 to Continue...
看起來還以為是當機!
呵, 纯粹是恶搞一下,不过404有的还是很好看的。
为什么看着这么不舒服 的感觉
所以只是玩玩惡搞的~

好复杂啊!眼都花了
这个很有用,感谢分享这么多东西。
独立IP主机 风暴来袭 优惠62% 终生3.8折,转发活动送wifi…
闲的蛋疼。。。。。
的確~

闲得慌
對呀~

虽然不懂,但是好厉害的样子,不过,这样有人喜欢吗?不是很讨厌微软吗?