Skip to content
The plugin contains the features and settings generally deemed to be the most commonly used in all projects.
Branch: master
Clone or download
Teemu Suoranta
Latest commit 0ff3618 Mar 7, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets Modified dashboard-recent-widget visuals to match new widget-dashboar… Jan 14, 2019
dist/styles
features
languages Internationalization added through .mo and .po files and provided tra… Nov 5, 2018
.editorconfig Init Oct 1, 2018
.gitignore Init Oct 1, 2018
README.md
abstract-feature.php
abstract-sub-feature.php
changelog.json
gulpfile.js
helpers.php
kernl.version
package.json
phpcs.xml Init Oct 1, 2018
plugin.php
plugin_update_check.php Added required components for Kernl automatic updates Oct 8, 2018
yarn.lock

README.md

Aucor Core

Core plugin for WordPress projects. 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.

How to install

  1. Download this repository
  2. Extract into /plugins/
  3. Activate

(When released, will be available on WordPress.org)

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 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 a filter:

add_filter('feature or subfeature key', '__return_false');

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

You can’t perform that action at this time.