ZyCoder

Plugin Name: Zy Coder
Plugin URI: https://innovawer.com/zycoder/
Description: Insert Files & Snippets of PHP|HTML|JS|CSS|CMD Code
Version: 1.0.0
License: GPL-2.0-or-later

Requires PHP: 5.6
Requires at least: 3.6

Instructions

Download and unzip the zycoder.php file, the just copy/move the zycoder folder to you wp-content/plugins folder the just user the shortcode or zy-loader file.

Shortcode

Sample:
zy file=”some/path.php | js | css | html | cmd” path=”some/path.php | js | css | html | cmd” code=”php | html | js | css | cmd” gvar=”var1, …, varn”]Snippet of PHP | HTML | JS | CSS | CMD Code[/zy]

All is executed inside a PHP function scope so please dont forget to use global variables eg. $GLOBALS[“var-name”]
All type of code can include to include php in the other code
Execution order file, path, snippet, default code type html
CMD is OS shell commands
Shortcodes parameter eval internal shortcodes

iw/zy-load.php

This file hold code that loads at initial loading of WP like function.php, so code to handle hook can go here. must in the iw folder of you WordPress root.

add_action( ‘wp_footer’, function(){
//is_single()
echo ‘

Text in FooterCompany name‘;
});

Download

zycoder.zip

zycoder-v1.0.1.zip

zycoder-v1.0.2.zip