Skip to content

Instantly share code, notes, and snippets.

View SantiagoInteractive's full-sized avatar

Santiago Interactive SantiagoInteractive

View GitHub Profile
@SantiagoInteractive
SantiagoInteractive / gist:a40333b1e420f67e1451
Last active February 20, 2020 16:55
Visual Render & Editor from WP TinyMCE on Codestar Framework Shortcodes - Stylesheet
.wpview-wrap {
width: 95%;
margin: 15px auto;
padding: 0;
border: none;
}
.wpview-wrap[data-mce-selected],
.wpview-wrap:hover {
border: none;
@SantiagoInteractive
SantiagoInteractive / gist:eb533bb8a39ddc51b7a0
Last active February 20, 2020 16:55
Visual Render & Editor from WP TinyMCE on Codestar Framework Shortcodes
<?php
/*
* Editor Visual Shortcode Extension
* Version: 1.0.0
*/
// if this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}