data:text/html,<h1>Hello World!</h1>
<!DOCTYPE html>
<html>
<?php | |
/** | |
* Sends user to the start page on first activation, as well as each time the | |
* plugin is upgraded to a new version | |
* | |
* @access public | |
* @since 1.1 | |
* @return void | |
*/ |
<div class="form-horizontal"> | |
<div class="form-group"><label class="control-label col-md-3">Full Name</label><div class="col-md-9">[text* your-name class:form-control]</div></div> | |
<div class="form-group"><label class="control-label col-md-3">Email Address</label><div class="col-md-9">[email* your-email class:form-control]</div></div> | |
<div class="form-group"><label class="control-label col-md-3">Subject</label><div class="col-md-9">[text your-subject class:form-control]</div></div> | |
<div class="form-group"><label class="control-label col-md-3">Message</label><div class="col-md-9">[textarea your-message x5 class:form-control]</div></div> | |
<div class="form-group"><div class="col-md-offset-3 col-md-9">[submit class:btn class:btn-primary "Send"]</div></div> | |
</div> |
background: linear-gradient(270deg, #5b318c, #000000); | |
background-size: 400% 400%; | |
-webkit-animation: AnimationName 10s ease infinite; | |
-moz-animation: AnimationName 10s ease infinite; | |
-o-animation: AnimationName 10s ease infinite; | |
animation: AnimationName 10s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} |
data:text/html,<h1>Hello World!</h1>
<!DOCTYPE html>
<html>
#!/bin/bash | |
for site in `wp site list --field=url`; do | |
wp media regenerate --yes --url=$site | |
done | |
~ |
// Custom Dashboard widgets | |
function custom_dashboard_widgets() { | |
global $wp_meta_boxes; | |
unset( $wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press'] ); | |
unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links'] ); | |
unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins'] ); | |
unset( $wp_meta_boxes['dashboard']['side']['core']['dashboard_primary'] ); | |
unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_right_now'] ); | |
unset( $wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments'] ); |
filter: | |
paths: | |
- 'lib/*' | |
- '/*' | |
excluded_paths: | |
- 'tests/*' | |
- 'examples/*' | |
tools: | |
php_mess_detector: | |
filter: |
<?php | |
/** | |
* Plugin Name: Deprecated admin_notices | |
* Description: Disable PHP Deprecated notices and display in admin_notices | |
* Author: Weston Ruter, XWP | |
*/ | |
call_user_func( function() { | |
error_reporting( error_reporting() ^ E_DEPRECATED ); |