Title: Axio Core
Author: Generaxion
Published: <strong>2022 年 1 月 19 日</strong>
Last modified: 2022 年 1 月 19 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/axio-core/assets/icon-256x256.png?rev=2659974)

# Axio Core

 作者：[Generaxion](https://profiles.wordpress.org/aucor/)

[下载](https://downloads.wordpress.org/plugin/axio-core.zip)

 * [详情](https://cn.wordpress.org/plugins/axio-core/#description)
 * [评价](https://cn.wordpress.org/plugins/axio-core/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/axio-core/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/axio-core/#developers)

 [支持](https://wordpress.org/support/plugin/axio-core/)

## 描述

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 [axio-starter](https://github.com/generaxion/axio-starter)
but functions on its own as well. Use the site specific plugin to configure the 
specs of this plugin.

This plugin replaces the previous Aucor Core and is backwards compatible with same
function and filter names working.

### 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:

 * front page edit link
 * gallery
 * image-links
 * login
 * admin menu cleanup
 * notifications
 * profile cleanup
 * remove customizer

classic-editor:

 * tinymce

dashboard:

 * cleanup
 * recent widget
 * remove panels

front-end:

 * clean up empty html nodes
 * excerpt
 * html fixes

localization:

 * string translations

plugins:

 * acf
 * cookiebot
 * gravityforms
 * redirection
 * public post preview
 * seo
 * yoast

polyfills:

 * acf
 * polylang

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(‘axio_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 in theme or plugin. Here is a minimal code snippet you can
use to disable features:

    ```
    <?php
    // disable a feature in Axio Core
    add_filter('feature or subfeature key', '__return_false');
    ```

Note that if you disable a feature, all underlying subfeatures will be disabled 
as well.

## 安装

Download and activate. That’s it.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Axio Core」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Generaxion ](https://profiles.wordpress.org/aucor/)

[帮助将「Axio Core」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/axio-core)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/axio-core/)，查看[SVN仓库](https://plugins.svn.wordpress.org/axio-core/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/axio-core/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/axio-core/)。

## 更新日志

#### 1.1.2

Added feature to force suffix to attachment page slugs to prevent attachments from
reserving nice slugs.

#### 1.1.1

Enhanced data sanitazing on echoing functions, fix metadata errors, move to local
placeholder image on styleguide.

#### 1.1.0

Add possibility to force ACF block mode, hide Cookiebot admin notice and extend 
Public Post Preview nonce.

#### 1.0.0

Initial release.

## 额外信息

 *  版本 **1.1.2**
 *  最后更新：**4 年前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 5.0.0 或更高版本 **
 *  已测试的最高版本为 **5.8.13**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/axio-core/)
 * 标签
 * [core](https://cn.wordpress.org/plugins/tags/core/)
 *  [高级视图](https://cn.wordpress.org/plugins/axio-core/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/axio-core/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/axio-core/reviews/)

## 贡献者

 *   [ Generaxion ](https://profiles.wordpress.org/aucor/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/axio-core/)