이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Aucor 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 aucor-starter but functions on it\’s 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 it\’s own plugin however. This is 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:

<?php
/**
 * Plugin Name: YOUR PLUGIN NAME
 */

// disable a feature in Aucor Core
add_filter(\'feature or subfeature key\', \'__return_false\');

Put this snippet in a file called plugin.php, in a directory named [YOUR PLUGIN NAME], and place the directory under the /plugins/ directory with your other plugins.

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

설치

Download and activate. That\’s it.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Aucor core”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

자국어로 “Aucor core”(을)를 번역하십시오.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하십시오.