We'll create fresh WordPress site with Axio Core installed. You have 20 minutes to test the plugin after that site we'll be deleted.
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 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.
Directory: root
The models the features are built on
Directory: /features/
Features (containing subfeatures) ranging from security settings to speed optimizations and dashboard cleanup.
admin:
classic-editor:
dashboard:
front-end:
localization:
plugins:
polyfills:
security:
speed:
debug:
Directory: root
Contains functions, like enhanced (internal) debugging, for all features/subfeatures to use
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.
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.