This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: Disable Auto-Generated Excerpts | |
* Plugin URI: https://gist.github.com/wpscholar/8da60a1f2e1a89d07348491a11725597 | |
* Description: This plugin will prevent WordPress from automatically generating an excerpt when one is not explicitly set. | |
* Version: 1.0 | |
* Author: Micah Wood | |
* Author URI: https://wpscholar.com | |
* License: GPL2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: WP REST API Demo | |
* Plugin URI: https://gist.github.com/wpscholar/693517420ca6c9e29e7719ef24e7e00f | |
* Description: A developer plugin designed for playing around with the WordPress REST API. | |
* Version: 1.0 | |
* Author: Micah Wood | |
* Author URI: https://wpscholar.com | |
* License: GPL2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: WP REST API - Allow All CORS Requests | |
* Description: Adds headers to allow cross-origin requests to the WordPress REST API. | |
* Version: 1.0 | |
* Plugin URI: https://gist.github.com/wpscholar/59f5708cba291a314375b2dedd104e1e | |
* Author: Micah Wood | |
* Author URI: https://wpscholar.com | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: WooCommerce Product Gallery - Disable Zoom | |
* Plugin URI: https://gist.github.com/wpscholar/cd3ab304e81950c3690af9c180093715 | |
* Description: Disable image zoom in the WooCommerce Product Gallery. | |
* Version: 1.0 | |
* Author: Micah Wood | |
* Author URI: https://wpscholar.com | |
* License: GPL2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: Simple Website Redirect - Don't redirect homepage | |
* Plugin URI: https://gist.github.com/wpscholar/122e6132b7ff58cc67019339283ca25a | |
* Description: A plugin to extend the Simple Website Redirect plugin and prevent redirects from happening on the homepage. | |
* Version: 1.0 | |
* Author: Micah Wood | |
* Author URI: https://wpscholar.com | |
* License: GPL2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
jobs: | |
build_and_deploy: | |
docker: | |
- image: circleci/php:7.1-node-browsers | |
steps: | |
- checkout | |
- run: sudo apt update | |
- run: sudo apt-get install rsync | |
- run: sudo docker-php-ext-install zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var url = ""; | |
var params = { | |
name: 'John', | |
email: 'webmaster@mysite.com' | |
}; | |
var xhr = new XMLHttpRequest(); | |
xhr.open('POST', url + '?' + buildQueryString(params)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const autoprefixer = require('autoprefixer'); | |
const browsers = require('@wordpress/browserslist-config'); | |
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | |
const path = require('path'); | |
const webpack = require('webpack'); | |
module.exports = function (env, options) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-07-18T18:11:37.497Z","extensionVersion":"v3.4.3"} |