Download the PHP package frc/wp-base without Composer
On this page you can find all versions of the php package frc/wp-base. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package wp-base
Short Description A collection of modifications and default settings to apply for theme, admin, login & plugins.
License MIT
Homepage https://www.frantic.com/
Informations about the package wp-base
FRC - WP Base
This is a must-use plugin, plugin activation not required.
To activate module add theme support:
add_theme_support('frc-base-{SIDE}-{MODULE-NAME}');
For example:
add_theme_support('frc-base-theme-disable-api');
Available sides:
plugin
- Applied if supported plugin is activatedlogin
- Login and access related modulesadmin
- Applied only when in admin panel (theme modules will not be loaded)theme
- Applied for theme, REST API and any public side of the application
Usage
Add theme support to functions.php
.
Example - recommended supports:
Enable side´s all modules
Example - enable all theme related modules:
add_theme_support('frc-base-theme-all');
Disable modules
It is possible to disable modules added by 'default' or 'all' feature by adding !
begeing of the feature.
Example:
Feature options
Some modules supports options:
frc-base-theme-disable-rest-api
:
Available modules
Admin
frc-base-admin-clean-up
frc-base-admin-defaults-tinymc
frc-base-admin-defaults
(enabled by default)
frc-base-admin-disable-update-checks
Login
frc-base-login-defaults
(enabled by default)
frc-base-login-force
frc-base-login-expiration
Plugin
frc-base-plugin-acf
frc-base-plugin-auth0
frc-base-plugin-defaults
(enabled by default)
frc-base-plugin-gravityforms
frc-base-plugin-woocommerce
Theme
frc-base-theme-clean-up
frc-base-theme-defaults
(enabled by default)
frc-base-theme-disable-api
frc-base-theme-disable-asset-versioning
frc-base-theme-disable-rest-api
frc-base-theme-disable-trackbacks