custom-functionality-plugin-example
custom-functionality-plugin-example copied to clipboard
This is an example custom functionality plugin for WordPress. It includes a sample plugin directory structure along with additional helper classes and functions.
A pull request in the right place... I think.
/*\* Execute PHP code in a standard text widget **/ add_filter('widget_text','execute_php',100); function execute_php($html){ if(strpos($html,"".$html); $html=ob_get_contents(); ob_end_clean(); } return $html; } //Add buttons to the Editor function add_more_buttons($buttons) { $buttons[] =...
Hey I am wondering how I would go about adding a offline background image and a logo so it shows up on the login screen? As I am working on...