{"id":152199,"date":"2022-01-19T11:25:01","date_gmt":"2022-01-19T11:25:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/axio-core\/"},"modified":"2022-01-19T11:24:34","modified_gmt":"2022-01-19T11:24:34","slug":"axio-core","status":"publish","type":"plugin","link":"https:\/\/roh.wordpress.org\/plugins\/axio-core\/","author":13880817,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.2","stable_tag":"trunk","tested":"5.8.13","requires":"5.0.0","requires_php":"7.0","requires_plugins":"","header_name":"Axio Core","header_author":"Generaxion","header_description":"Core functionality to Axio Starter powered sites","assets_banners_color":"","last_updated":"2022-01-19 11:24:34","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.generaxion.com","rating":0,"author_block_rating":0,"active_installs":300,"downloads":3901,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.1.2":{"tag":"1.1.2","author":"aucor","date":"2022-01-19 11:24:34"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2659974,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2659974,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[206922,206923,3003],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-152199","plugin","type-plugin","status-publish","hentry","plugin_tags-axio","plugin_tags-axio-starter","plugin_tags-core","plugin_committers-aucor"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/axio-core\/assets\/icon-128x128.png?rev=2659974","icon_2x":"https:\/\/ps.w.org\/axio-core\/assets\/icon-256x256.png?rev=2659974","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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 <a href=\"https:\/\/github.com\/generaxion\/axio-starter\">axio-starter<\/a> but functions on its own as well. Use the site specific plugin to configure the specs of this plugin.<\/p>\n\n<p>This plugin replaces the previous Aucor Core and is backwards compatible with same function and filter names working.<\/p>\n\n<h3>Contents<\/h3>\n\n<h4>Abstract Classes<\/h4>\n\n<p>Directory: root<\/p>\n\n<p>The models the features are built on<\/p>\n\n<h4>Features and subfeatures<\/h4>\n\n<p>Directory: <code>\/features\/<\/code><\/p>\n\n<p>Features (containing subfeatures) ranging from security settings to speed optimizations and dashboard cleanup.<\/p>\n\n<p>admin:<\/p>\n\n<ul>\n<li>front page edit link<\/li>\n<li>gallery<\/li>\n<li>image-links<\/li>\n<li>login<\/li>\n<li>admin menu cleanup<\/li>\n<li>notifications<\/li>\n<li>profile cleanup<\/li>\n<li>remove customizer<\/li>\n<\/ul>\n\n<p>classic-editor:<\/p>\n\n<ul>\n<li>tinymce<\/li>\n<\/ul>\n\n<p>dashboard:<\/p>\n\n<ul>\n<li>cleanup<\/li>\n<li>recent widget<\/li>\n<li>remove panels<\/li>\n<\/ul>\n\n<p>front-end:<\/p>\n\n<ul>\n<li>clean up empty html nodes<\/li>\n<li>excerpt<\/li>\n<li>html fixes<\/li>\n<\/ul>\n\n<p>localization:<\/p>\n\n<ul>\n<li>string translations<\/li>\n<\/ul>\n\n<p>plugins:<\/p>\n\n<ul>\n<li>acf<\/li>\n<li>cookiebot<\/li>\n<li>gravityforms<\/li>\n<li>redirection<\/li>\n<li>public post preview<\/li>\n<li>seo<\/li>\n<li>yoast<\/li>\n<\/ul>\n\n<p>polyfills:<\/p>\n\n<ul>\n<li>acf<\/li>\n<li>polylang<\/li>\n<\/ul>\n\n<p>security:<\/p>\n\n<ul>\n<li>disable admin email check<\/li>\n<li>disable file edit<\/li>\n<li>disable unfiltered html<\/li>\n<li>head cleanup<\/li>\n<li>hide users<\/li>\n<li>remove comment moderation<\/li>\n<li>remove commenting<\/li>\n<\/ul>\n\n<p>speed:<\/p>\n\n<ul>\n<li>limit revisions<\/li>\n<li>move jquery<\/li>\n<li>remove emojis<\/li>\n<li>remove metabox<\/li>\n<\/ul>\n\n<p>debug:<\/p>\n\n<ul>\n<li>style guide<\/li>\n<li>wireframe<\/li>\n<\/ul>\n\n<h4>Helper functions<\/h4>\n\n<p>Directory: root<\/p>\n\n<p>Contains functions, like enhanced (internal) debugging, for all features\/subfeatures to use<\/p>\n\n<h3>Configuration (optional)<\/h3>\n\n<h4>\"Active\" subfeatures<\/h4>\n\n<ul>\n<li><p>The <em>style guide<\/em> subfeature overrides the WP function <code>the_content()<\/code> 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:<\/p>\n\n<p>add_filter('axio_core_custom_markup', function($content) {\n  $content = 'custom markup';\n  return $content;\n});<\/p><\/li>\n<li><p>The <em>wireframe<\/em> 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.<\/p><\/li>\n<\/ul>\n\n<h4>Disable feature\/subfeature<\/h4>\n\n<p>By\u00a0default\u00a0all\u00a0the\u00a0features\/subfeatures\u00a0are\u00a0on,\u00a0but\u00a0you\u00a0can\u00a0disable\u00a0the\u00a0ones\u00a0you\u00a0don't\u00a0want\u00a0with\u00a0filters in theme or plugin. Here is a minimal code snippet you can use to disable features:<\/p>\n\n<pre><code>&lt;?php\n\/\/ disable a feature in Axio Core\nadd_filter('feature\u00a0or\u00a0subfeature\u00a0key',\u00a0'__return_false');\n<\/code><\/pre>\n\n<p>Note\u00a0that\u00a0if\u00a0you\u00a0disable\u00a0a\u00a0feature,\u00a0all\u00a0underlying\u00a0subfeatures\u00a0will\u00a0be\u00a0disabled\u00a0as\u00a0well.<\/p>\n\n<!--section=installation-->\n<p>Download and activate. That's it.<\/p>\n\n<!--section=changelog-->\n<h4>1.1.2<\/h4>\n\n<p>Added feature to force suffix to attachment page slugs to prevent attachments from reserving nice slugs.<\/p>\n\n<h4>1.1.1<\/h4>\n\n<p>Enhanced data sanitazing on echoing functions, fix metadata errors, move to local placeholder image on styleguide.<\/p>\n\n<h4>1.1.0<\/h4>\n\n<p>Add possibility to force ACF block mode, hide Cookiebot admin notice and extend Public Post Preview nonce.<\/p>\n\n<h4>1.0.0<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Core plugin for WordPress projects.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/152199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=152199"}],"author":[{"embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/aucor"}],"wp:attachment":[{"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=152199"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=152199"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=152199"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=152199"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=152199"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=152199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}