> 網上看到好的樣式組件就保留下來。
```
<style type="text/css">
/*! CSS Used from: https://demo.themegrill.com/ample/wp-content/plugins/everest-forms/assets/css/everest-forms.css?ver=1.4.4 ; media=all */
@media all{
.clearfix::after,.clearfix::before{display:table;content:"";}
.clearfix::after{clear:both;}
}
/*! CSS Used from: https://demo.themegrill.com/ample/wp-content/themes/ample/style.css?ver=a0f4bb6bbffdc91f4c8a3942283e5ead ; media=all */
@media all{
div,span,h5,p,a,ul,li{border:0;font:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline;}
footer,section{display:block;}
a:focus{outline:thin dotted;}
a:hover,a:active{outline:0;}
h5{color:#666666;line-height:1.4;padding-bottom:15px;font-weight:normal;}
h5{font-size:22px;}
p{color:#888888;font-size:15px;line-height:1.5;margin-bottom:15px;font-weight:300;}
ul{list-style:none;}
a{color:#80abc8;text-decoration:none;-webkit-transition:0.25s ease-in-out;-moz-transition:0.25s ease-in-out;transition:0.25s ease-in-out;-ms-transition:0.25s ease-in-out;-o-transition:0.25s ease-in-out;}
a:focus,a:active,a:hover{text-decoration:none;}
.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0;}
.clearfix{display:inline-block;}
.clearfix{display:block;}
.inner-wrap{max-width:1100px;margin:0 auto;}
.tg-one-fourth{float:left;width:22.95454545%;margin:0 2.72727272% 0 0;}
.tg-one-fourth-last{margin:0px;}
#colophon{font-size:14px;clear:both;color:#777;background-color:#1f2021;overflow:hidden;padding:50px 0 20px;}
#colophon p{font-weight:300;color:#777;line-height:22px;font-size:15px;}
#colophon a{font-weight:300;color:#b1b6b6;line-height:22px;font-size:13px;}
#colophon a:hover{color:#80abc8;}
.footer-widgets-area{padding-bottom:40px;color:#777777;}
.footer-widgets-area .tg-one-fourth .widget-title{text-align:left;}
.footer-widgets-area .tg-one-fourth p{text-align:left;color:#b1b6b6;}
.footer-widgets-area a{color:#D5D5D5;}
.footer-widgets-area a:hover{color:#80abc8;}
#colophon .widget{padding-bottom:25px;}
#colophon .widget-title{font-size:22px;line-height:1.4;color:#b1b6b6;}
#colophon,#colophon p{font-size:14px;line-height:1.4;}
#colophon .footer-widgets-area li a{display:inline-block;padding-bottom:3px;}
.copyright-info{float:left;padding-right:10px;font-weight:300;}
#colophon .copyright-info a{color:#b1b6b6;}
#colophon .copyright-info a:hover{color:#80abc8;}
.footer-nav{float:right;}
.footer-nav ul li{display:inline-block;padding-left:10px;}
#colophon .footer-nav ul li a{color:#b1b6b6;}
#colophon .footer-nav ul li a:hover{color:#80abc8;}
@media screen and (max-width: 1190px){
.inner-wrap{width:94%;}
}
@media screen and (max-width: 768px){
.footer-widgets-wrapper .tg-column-odd{float:left;width:48.18181818%;}
.footer-widgets-wrapper .tg-column-even{float:right;width:48.18181818%;margin-right:0;}
.tg-after-two-blocks-clearfix{clear:both;}
.copyright-info{padding-right:0;float:none;text-align:center;}
.footer-nav{float:none;text-align:center;}
}
@media screen and (max-width: 600px){
.footer-widgets-wrapper .tg-column-odd,.footer-widgets-wrapper .tg-column-even{float:none;width:100%;}
}
}
</style>
<footer id="colophon">
<div class="inner-wrap">
<div class="footer-widgets-wrapper">
<div class="footer-widgets-area clearfix">
<div class="footer-box tg-one-fourth tg-column-odd">
<section id="text-2" class="widget widget_text"><h5 class="widget-title"> Text Widget</h5> <div class="textwidget"><p>We built themes that are eye catching and easy to use, with lots of options and templates to change the look of your site as you wish.</p>
<p>Also we provide extensive support for all our themes.</p>
</div>
</section> </div>
<div class="footer-box tg-one-fourth tg-column-even">
<section id="recent-posts-3" class="widget widget_recent_entries"> <h5 class="widget-title">Recent Posts</h5> <ul>
<li>
<a href="https://demo.themegrill.com/ample/2015/02/09/suspendisse/">Suspendisse</a>
</li>
<li>
<a href="https://demo.themegrill.com/ample/2015/02/09/mauris-eu-mollis/">Mauris eu mollis</a>
</li>
<li>
<a href="https://demo.themegrill.com/ample/2015/02/09/donec-ornare/">Donec ornare</a>
</li>
<li>
<a href="https://demo.themegrill.com/ample/2015/02/09/quisque-iaculis/">Quisque iaculis</a>
</li>
</ul>
</section> </div>
<div class="footer-box tg-one-fourth tg-after-two-blocks-clearfix tg-column-odd">
<section id="text-3" class="widget widget_text"><h5 class="widget-title">Our Other Themes</h5> <div class="textwidget"><ul>
<li> <a href="http://themegrill.com/themes/spacious/">Spacious</a></li>
<li> <a href="http://themegrill.com/themes/accelerate/">Accelerate</a></li>
<li> <a href="http://themegrill.com/themes/radiate/">Radiate</a></li>
<li> <a href="http://themegrill.com/themes/esteem/">Esteem</a></li>
<li> <a href="http://themegrill.com/themes/freedom/">Freedom</a></li>
<li> <a href="http://themegrill.com/themes/masonic/">Masonic</a></li>
</ul>
</div>
</section> </div>
<div class="footer-box tg-one-fourth tg-one-fourth-last tg-column-even">
<section id="nav_menu-2" class="widget widget_nav_menu"><h5 class="widget-title">Custom Menu</h5><div class="menu-custom-menu-container"><ul id="menu-custom-menu" class="menu"><li id="menu-item-41" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-41"><a href="https://demo.themegrill.com/ample">Live Demo</a></li>
<li id="menu-item-40" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-40"><a href="https://demo.themegrill.com/ample/blog/">Blog</a></li>
<li id="menu-item-42" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-42"><a href="https://demo.themegrill.com/ample/contact/">Contact Us</a></li>
</ul></div></section> </div>
</div>
</div>
<div class="footer-bottom clearfix">
<div class="copyright-info">
<div class="copyright">Copyright ? 2019 <a href="https://demo.themegrill.com/ample/" title="Ample"><span>Ample</span></a>. Powered by <a href="http://wordpress.org" target="_blank" title="WordPress"><span>WordPress</span></a>. Theme: Ample by <a href="https://themegrill.com/themes/ample" target="_blank" title="ThemeGrill" rel="author"><span>ThemeGrill</span></a>.</div> </div>
<div class="footer-nav">
<div class="menu-footer-container"><ul id="menu-footer" class="menu"><li id="menu-item-32" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-32"><a href="http://themegrill.com/">ThemeGrill</a></li>
<li id="menu-item-33" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-33"><a href="http://themegrill.com/theme-instruction/ample">Documentation</a></li>
<li id="menu-item-34" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-34"><a href="http://themegrill.com/support-forum/">Support</a></li>
</ul></div> </div>
</div>
</div>
</footer>
```
## 實際效果

- 文檔說明
- 后臺定制類
- WordPress后臺樣式
- WordPress創建后臺小工具
- WordPress增加新的角色
- WordPress修改默認角色名
- WordPress后臺頂部去除新建文章
- WordPress后門代碼,僅參考思路,創建管理員
- 對訂閱用戶隱藏資料頁面
- 修改WordPress后臺側邊欄菜單名字
- 修改自定義文章菜單圖標
- 基于用戶角色權限區分不同的功能
- WordPress修改登錄頁面圖標,名字等功能
- WordPress對于非管理員禁用密碼修改欄
- WordPress禁用頂部工具欄
- WordPress后臺強制使用某種語言
- WordPress自定義后臺登錄失敗提示
- WordPress使用一欄后臺
- WordPress后臺自定義聯系方式
- WordPress將一些頁面跳轉到后臺
- 用戶登陸后跳轉到指定頁面
- WordPress禁用后臺歡迎工具
- WordPress后臺代碼文件必備驗證
- WordPress自定義后臺歡迎面板內容
- WordPress判斷是否為指定post-type
- WordPress用戶描述支持HTML代碼
- WordPress自定義后臺右下角文字
- WordPress禁用全部小工具
- 評論互動類
- 給評論提交按鈕添加class
- WordPress禁用附件評論
- WordPress評論去除鏈接欄
- 告訴用戶文章N天之后即將關閉評論
- 限制評論字數
- WordPress屏蔽指定外文垃圾評論
- WordPress替換評論者鏈接
- WordPress轉換評論中的HTML實體
- 去除自定義里面不想要的控制器
- 從自定義里面去除自定義CSS
- WordPress增加子主題名字到body class里面
- 自定義WordPress的body_class
- 修改WordPress媒體庫上傳文件格式限制
- 導航類
- WordPress面包屑導航
- 在導航欄加入搜索框
- 在導航里面添加自定義項目
- 高亮導航
- 圖片類定制
- 去除WordPress圖片尺寸限制
- 固定WordPress插入圖片設置
- 禁用WordPress的響應式圖片
- WordPress增加全站圖標
- WordPress后臺媒體庫替換縮略圖鏈接
- WordPress自動將第一個圖片設為特色圖
- WordPress要求必須增加特色圖才可以發布
- 第三方服務類
- WordPress禁用谷歌字體
- WordPress禁用emojis
- 百度主動推送代碼
- WordPress前臺禁用dashicon圖標字體
- 郵箱服務類
- 關閉WordPress注冊郵箱通知功能
- 修改用戶前線郵箱通知
- 頭像類
- WordPress禁用gavatar頭像
- WordPress自定義默認頭像
- WordPress替換頭像服務器
- 安全防御類
- 禁用WordPress的xmlrpc功能
- WordPress維護模式代碼
- WordPress數據庫維護代碼
- WordPress去除版本號
- 網站登錄驗證
- 禁用pingbak
- 條件判斷類
- 判斷評論用戶是否為注冊用戶
- WordPress判斷是否是管理員
- WordPress判斷是否登錄
- SEO優化類
- WordPress替換網站描述
- WordPress文章描述
- 將特色圖設置到OG標簽
- 自定義默認文章標題
- 頁面支持摘要
- 在某些頁面模板中禁用編輯器
- 移除某些頁面模板
- 權限控制類
- 針對不同狀態顯示不同顏色
- 文章顯示過期提示
- 從文章內容提取描述
- 短代碼保護郵箱
- 在用戶欄修改用戶ID
- 未登錄用戶強制跳轉登錄頁
- 分類描述支持HTML
- 移除已存在的分類
- 支持在小工具使用短代碼
- 禁用主題插件編輯器
- 定義默認主題slug
- 禁用默認主題的安裝
- 禁止主題和插件文件修改
- wp-config.php參數
- 修改數據前綴
- 清理無用自定義字段
- 在編輯器周圍自定義內容
- 清理頭部亂七八糟無用的代碼
- 禁用圖片的說明文字
- 禁用可視化編輯器
- WordPress各PHP頁面用緩存做數據交換
- 網絡資源類
- 網絡二維碼API
- bat批處理微信多開
- 獲取IP地址接口
- 頁面組件類
- 黑色網頁頁腳
- 黑色頁腳二
- 微軟卡片式通欄模塊
- 增強內置的延遲加載性能
- WordPress 禁用 admin/login 跳轉
- WordPress HOOKS執行順序
- 服務器類
- LNMP管理命令行
- 寶塔命令行
- 數據庫類
- WordPress數據庫查詢的安全處理
- 數據獲取類
- 通過ID獲取文章內容
- WordPress根據頁面模板路徑獲取頁面ID
- 獲取文章第一個鏈接
- WordPress獲取當前頁面鏈接
- 獲取頂層頁面的ID
- WordPress優化類
- WordPress自定義路由
- WordPress隱藏部分插件
- 關閉WordPress核心,主題,插件更新
- WordPress禁用RSS訂閱
- WordPress禁用靜態資源版本查詢
- WordPress去除后臺logo
- WordPress內容僅限登錄用戶查看
- WordPress延遲RSS訂閱
- WordPress屏蔽部分分類
- WordPress根據UA切換主題
- 自定義摘要字數
- 自定義更多內容文字
- 文章底部版權聲明以及自定義內容
- 小工具支持PHP代碼
- WordPress文本編輯器添加少量自定義按鈕
- WordPress文章關鍵字替換
- WordPress首頁排除某些分類文章
- WordPress添加隱藏的設置頁面
- WordPress加載自定義jQuery庫
- 限制WordPress版本號數目
- WordPress搜索結果包含自定義文章類型
- 禁止ping到自己的WordPress網站
- 在源代碼頁腳顯示資源消耗
- WordPress禁用自帶的小工具
- WordPress后臺刪除不必要的小工具
- WordPress指定用戶投稿分類
- WordPress增加ajax點贊功能
- 自定義WordPress登錄背景
- WordPress強制阻止代碼轉義功能
- WordPress頁面偽靜態化
- WordPress代碼版sitemap地圖
- WordPress非管理員不準進入后臺
- WordPress注冊之后跳轉到指定頁面
- WordPress增加通用短代碼下拉按鈕
- WordPress給不同狀態的文字添加顏色
- 后臺添加操作指引
- 短代碼實現倒計時顯示功能
- 讓登錄用戶選擇跳轉到哪里
- WordPress定時任務
- PHP驗證當前時間是否在指定時間段
- Git 命令大全
- 常用JS代碼
- 常用js函數使用方式
- 實用js函數代碼