Plugin / Aucor core

Aucor Oy

Description

Description

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 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.

Ratings

0
0 reviews

Rating breakdown

Details Information

Version

1.0.12

First Released

30 Jul, 2019

Total Downloads

169

Wordpress Version

4.7.3 or higher

Tested up to:

5.2.4

Require PHP Version:

7.0 or higher

Tags

There is no tag found

Contributors

This plugin has been closed.

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.