The idea is to provide a UI that is user friendly for the ones who do not code, yet offer a code editor for developers. Developres can make changes in code or use the code editor to create a 'wrapper' for the content.
The problem is that Wordpress developers sometimes add html to a site's post or page and the content manager breaks it later trying to make changes. Then the develper has to be called again to fix whatever was broken in the markup. This is due to tinyMCE validating the HTML in the editor. When you switch from the 'Text' and 'Visual' editor some of the HTML is lost and causes things to break. Here is our attempt at fixing this issue.
The concept is simple, a box lets project/content managers insert content using a
WYSIWYG eiditor. Developers can assign classes and ids to boxes to control how they look or behave in the front end. Additionally, developers can also insert a HTML wrapper for the content that the project/content manager inserts. This provides ultimate control over the element.
This is where the gap with developers gets shorten! The code editor that we provide for developers does not change or alter the markup. Developers can insert the content in their markup by uisng the
%%CONTENT%%
. This will insert everything that the content manager did in the WYSIWYG editor.
This plugin only loads styles and scripts in the backend (when creating or editing a post). It currently does not bind any styles or scripts to the front end.
Important: Premise Boxes does not do any HTML validation for you. It is important to trust the people that are using this plugin or have access to it.
Requires
Premise WP.
This section describes how to install and activate Premise Boxes.
- Upload the plugin files to the
/wp-content/plugins/premise-boxes
directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the 'Plugins' screen in WordPress
- Start using it!