[WordPress] 外掛分享: Aucor core

前言介紹

  • 這款 WordPress 外掛「Aucor core」是 2019-07-30 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2020-10-07,距離現在已有 1670 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.7.3 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

aucor |

外掛標籤

core | aucor |

內容簡介

該外掛包含通常被認為是所有專案中最常用的功能和設置。它的用途是與aucor-starter一起使用,但也可以獨立運行。使用特定於網站的外掛程式來配置此外掛的規格。

內容
抽象類別

目錄:根目錄

這些功能建立在這些類別上

功能和子功能

目錄:/features/

功能(包含子功能),從安全設置到速度優化和儀表板清理。

管理員:

相片集
圖片連結
登錄
管理員選單清理
通知
個人資料清理
移除自訂器

經典編輯器:

tinymce

儀表板:

清理
最近的小工具
移除面板

前端:

節錄
HTML 修復程式

本地化:

Polyfill
字串翻譯

外掛程式:

ACF
GravityForms
重定向
SEO
Yoast

安全性:

停用管理員電子郵件檢查
停用檔案編輯
停用未過濾的 HTML
標頭清理
隱藏用戶
移除評論審核
移除評論

速度:

限制版本
移動 jQuery
移除表情符號
移除 metabox

除錯:

樣式指南
設計稿

輔助功能

目錄:根目錄

包含所有功能/子功能使用的功能,例如增強式(內部)除錯

配置(可選)
「啟用」子功能

樣式指南子功能會使用預設標記測試最常見的標記樣式,當在 URL 中發現 GET 參數「?ac-debug=styleguide」時,會覆蓋 WP 函數「the_content()」。但是,您可以使用過濾器替換此標記:

add_filter('aucor_core_custom_markup',function($content) {
$content = '自訂標記';
return $content;
});

wireframe 子功能會在頁面上的所有元素添加輪廓線,以協助視覺除錯,當在 URL 中發現 GET 參數「?ac-debug=wireframe」時。它還會在頁面上的所有錨點標記的 href 值中添加「?ac-debug=wireframe」,以保持啟用狀態。

停用功能/子功能

預設情況下,所有功能和子功能都是啟用的,但您可以使用過濾器停用不需要的功能。但必須在另一個外掛程式中進行,因為功能挂鉤在主題設置之前執行,因此位於 functions.php 中的過濾器將沒有任何效果。這是您可以使用的最小代碼片段,用於停用功能:

/**
* Plugin Name: YOUR PLUGIN NAME
*/

// 停用 Aucor Core 中的某個功能
add_filter('键入功能或子功能','__return_false');

將此片段放入名為 plugin.php 的文件中,在 [YOUR PLUGIN NAME] 命名的目錄中,與其他外掛程式相同。

原文外掛簡介

The plugin contains the features and settings generally deemed to be the most commonly used in all projects. It is meant to be used together with aucor-starter but functions on its own as well. Use the site specific plugin to configure the specs of this plugin.
Contents
Abstract Classes
Directory: root
The models the features are built on
Features and subfeatures
Directory: /features/
Features (containing subfeatures) ranging from security settings to speed optimizations and dashboard cleanup.
admin:

gallery
image-links
login
admin menu cleanup
notifications
profile cleanup
remove customizer

classic-editor:

tinymce

dashboard:

cleanup
recent widget
remove panels

front-end:

excerpt
html fixes

localization:

polyfill
string translations

plugins:

acf
gravityforms
redirection
seo
yoast

security:

disable admin email check
disable file edit
disable unfiltered html
head cleanup
hide users
remove comment moderation
remove commenting

speed:

limit revisions
move jquery
remove emojis
remove metabox

debug:

style guide
wireframe

Helper functions
Directory: root
Contains functions, like enhanced (internal) debugging, for all features/subfeatures to use
Configuration (optional)
“Active” subfeatures

The style guide subfeature overrides the WP function the_content() with default markup for testing the most common tag styles, when the GET parameter ‘?ac-debug=styleguide’ is found in the url. You can however replace this markup with a filter:
add_filter(‘aucor_core_custom_markup’, function($content) {
$content = ‘custom markup’;
return $content;
});

The wireframe subfeature adds outlines to all elements on page to help with visual debugging, when the GET parameter ‘?ac-debug=wireframe’ is found in the url. It also appends ‘?ac-debug=wireframe’ to the href value in all anchor tags on the page to keep the feature enabled during navigation.

Disable feature/subfeature
By default all the features/subfeatures are on, but you can disable the ones you don’t want with filters. This need to be done in a separate plugin, however, because the hooks that the features latch onto are executed earlier than the theme setup, so filters in e.g. functions.php won’t have any effect. Here is a minimal code snippet you can use to disable features:

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Aucor core」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.1 | 1.1.1 | 1.1.2 | 1.1.3 | 1.1.4 | 1.0.12 | 1.0.13 |

延伸相關外掛(你可能也想知道)

  • WP Downgrade | Specific Core Version 》WordPress 核心版本降級/升級, 此外掛「WP Downgrade」可以強制 WordPress 執行指定版本的核心版本更新程序。您所指定的核心版本將會從 wordpress.org 下載並...。
  • Advanced Automatic Updates 》Advanced Automatic Updates 為 WordPress 內建的自動更新功能添加了額外的選項。除了安全更新外,它還支持安裝重大版本、外掛、主題甚至是定期的 SVN 檢出!...。
  • Core Rollback 》透過核心更新 API 和核心更新方法,無縫回滾 WordPress Core 至最新版本或任何過時的、安全的版本。僅提供最新版本和過時的、安全版本。, 請參閱 https://api...。
  • WP Updates Settings 》允許您通過設置面板設置更新和自動背景更新的能力。, 功能, , 顯示/隱藏更新通知, 使用預設的 WordPress 行為, 啟用/禁用管理員使用者的更新能力, 設置主要核...。
  • WP Sanitize File Name Plus 》空格與特殊字元可能會造成一些問題。, 特色, , 改良預設功能sanitize_file_name(), 移除檔案名稱中使用的拉丁特殊字元, 將檔案名稱轉為小寫, 。
  • WP Login Timeout Settings 》此外掛提供了設置登錄超時的功能,您可以在設置面板中進行相關的設置。, 功能, , 設置預設的登錄超時時間, 設置「記住我」的登錄超時時間, 針對擁有特定能力...。
  • WP Core Update Cleaner 》當 WordPress 更新時,即使您事先已經刪除了檔案,它仍會重新安裝 wp-config-sample.php、readme 檔案和授權檔案。這個外掛程式在 WordPress 手動或自動更新...。
  • WP Excerpt Settings 》允許您通過設置面板設置摘錄的能力。, 功能, , 設置文本以表示摘錄結尾, 設置自動生成摘錄時使用的字符長度, 使用默認的 WordPress 行為, 在閱讀設置(設置&g...。
  • Axio Core 》- 這個插件包含了在所有專案中通常被認為是最常用的功能和設置。- 它是為了與axio-starter一起使用,但也可以單獨使用。- 使用特定於網站的插件來配置此插件...。
  • Downgrade 》此外掛分支自:https://wordpress.org/plugins/wp-downgrade/, 貢獻者/作者:Reisetiger, 降級或升級WordPress核心…, 追蹤我的 Twitter 以取得最新消...。
  • Disable Privacy Tools 》WordPress 4.9.6 新增了一些工具,以協助您創建和顯示隱私政策或協助請求匯出/刪除個人資料。, 根據您的位置或安裝類型(該工具可能不適用於Multisite或大型...。
  • WP Theme Plugin Editor Disable 》 WordPress預設可讓您在WordPress控制面板中直接編輯主題和外掛程式檔案。, 如果您或您的管理員從未直接在WordPress網站上更改過檔案,則absolutely no need ...。
  • WP Comment Humility 》WP Comment Humility 可讓「評論」頂級選單移至「文章」選單之下。, 由於頁面預設關閉評論,這個外掛讓評論選項出現在最恰當的位置。。
  • Translation Tools 》使用任何地區語言,與或不使用語言套件, 使用 WordPress 核心語言套件,您可以輕鬆更改您的 WordPress 網站語言。, 以前核心語言套件僅提供 100% 翻譯的語言...。
  • Disable Automatic Theme & Plugin Updates 》這個外掛的核心是使用 WordPress 內建的篩選器來停用主題和外掛的自動更新功能。, add_filter( 'plugins_auto_update_enabled', '__return_false' );, add_fi...。

文章
Filter
Mastodon