Download the PHP package framecreative/frame-core without Composer
On this page you can find all versions of the php package framecreative/frame-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download framecreative/frame-core
More information about framecreative/frame-core
Files in framecreative/frame-core
Package frame-core
Short Description Frame Core is like normalize.css for your WordPress site. In addition to setting sensible defaults, there's dev helpers and things that assist with working across multiple environments.
License GPL-2.0-or-later
Informations about the package frame-core
Frame Core
Frame Core is the server-side equivalent to normalize.css - it sets some better defaults, smooths over some weird edge cases, and provides some functionality for developer convenience.
Besides the password protected screen, no markup is ever generated for the front end of the site
Usage
Preferred method: Add the variables in the project .env
file:
Or define within the wp-config.php
:
Automatically Added Features
Removal of ACF 'Custom Fields' link in admin
So the client can't change our beautiful custom fields.
Plugin, Theme, Wordpress Core changes are disabled
The following general user restrictions are set:
- Disable installing and deleting plugins
- Disable installing and switching themes
- Add a 'Plugin Installation Disabled' notification in the admin
- Users will be able to update plugins, themes and Wordpress core
Set this to false
if the hand-over has no agreements in place to manage the code.
Note: This feature only applies to non-admin accounts. The frame account (default: frame
) will be immune).
Custom Features - General
Ongoing site maintenance agreement
Set as true
if we have an agreement to maintain the website (perform updates, maintenance etc).
If set to true
this will:
- Disable installing, deleting and updating plugins (including Wordpress)
- Disable installing and switching themes
- Add a 'Plugin Installation Disabled' notification in the admin
Set a custom Frame admin username
This defines the username of the dev user which will be immune to admin restricts. This user is able to install and update plugins at all times and will be able to edit ACF Field Groups.
If our admin Wordpress login does not have the username frame
then you can define the name:
Automatic Google Tag Manager embed code
By entering the ID, Frame Core will add the necessary embed code to the page <head>
and <body>
.
Note: As the code placement is slightly different to the suggested placement you cannot verify the site in google site console (webmaster tools) using the Google Tag Manager verification method.
Freeze the content (default: false
)
This activates a content freeze so only the Frame Admin can login to the CMS.
Custom Features - Dev Tools
Custom Features - Domain Tools
On Frame hosting these settings are mostly performed in Serverpilot / Cloudflare:
Custom Features - Mail
Custom Features - Logging
Send PHP errors to RollBar quickly and easily, just by setting the env variable to the correct API Key for the project.
If Rollbar logging has been set up fresh for this project you will need to send an error or message to Rollbar in order to 'activate' the project.
Use the Query String param rollbar_test=1
in order to send a test message to Rollbar.
Contributing and Extending
We welcome PRs from within the Frame team, however please keep the following in mind when designing features
- Features must be suitable for ALL frame sites
- PHP must be backwards compatible to PHP 5.5
- Changes to the DB, or generation of client side markup, is not recommended
- All module functionality should be opt-in, with sensible defaults