/**editor hidde/show condition**/
/*3 things to do*/
/* place this code in function file of each theme
add_filter( 'query_vars', 'addnew_query_vars', 10, 1 );
function addnew_query_vars($vars)
{
$vars[] = 'edit-mode'; // var1 is the name of variable you want to add
//echo $_GET['edit-mode'] .'hi!';
return $vars;
}
*/
/*then make a link such as
<a href="?edit-mode=true">Edit mode</a>
and place it where you like in your theme*/
*/finally place this code on ligne 95 of core.php ... replacing the css files call*/
if ( $_GET['edit-mode'] ) {
wp_register_style( 'fee-editor', plugins_url( 'css/core.css', FEE_MAIN_FILE ), $css_dependencies, FEE_VERSION );
scbUtil::do_styles( 'fee-editor' );
}