profile settings in screenshot
"colorScheme": "Cyberpunk SCARLET",
"cursorHeight": 25,
"cursorShape": "vintage",
| /** | |
| * Block Editor Settings. | |
| * Add custom colors and gradients to the editor. | |
| */ | |
| function tabor_add_colors_and_gradients() { | |
| $colors = array( | |
| 'primary' => '#db1c7d', | |
| 'secondary' => '#a528f0', | |
| 'tertiary' => '#90cbff', |
| <?php | |
| /* | |
| * Plugin Name: WooCommerce Subscriptions - Contract Subscriptions | |
| * Description: Disables certain action buttons for weekly subscriptions and subscriptions with a free trial. Weekly subscriptions can not be cancelled for at least a year. | |
| * Author: Sébastien Dumont | |
| * Author URI: https://sebastiendumont.com | |
| * Version: 0.0.2 | |
| * | |
| * License: GNU General Public License v3.0 | |
| * License URI: http://www.gnu.org/licenses/gpl-3.0.html |
| # Install and activate typical plugins. | |
| plugins: | |
| wp plugin delete hello akismet; \ | |
| wp plugin install debug-bar disable-emojis jetpack query-monitor woocommerce --activate; \ | |
| # Install, copy and clean up drop-ins. | |
| cache-plugins: | |
| wp plugin install batcache memcached-redux; \ | |
| cp wp-content/plugins/batcache/advanced-cache.php wp-content/advanced-cache.php; \ | |
| cp wp-content/plugins/memcached-redux/object-cache.php wp-content/object-cache.php; \ |
| /* | |
| Purpose: Import settings for GitHub Labels. | |
| (c) James Perrin, MIT License, https://www.countrydawgg.com, | @jamesperrin | |
| Importing Instructions: | |
| 1. Update the labels JSON object. | |
| 2. Open a web browser. | |
| 3. Navigate to the desired GitHub repository. |
| /* | |
| Purpose: Export the configuration settings for GitHub Labels. | |
| (c) James Perrin, CC0 1.0 Universal License, https://github.com/jamesperrin | |
| Exporting Instructions: | |
| 1. Open a web browser. | |
| 2. Navigate to the desired GitHub repository. | |
| 3. Navigate to Issues tab. |
| /* | |
| --PIETZ OBFUSCATE CODE-- | |
| 2019-06-01 | |
| from MAKEbook.io | |
| Instructions: | |
| 1) put this in your functions.php file | |
| 2) add this to the post you want to obfuscate, on top | |
| 3) [obfuscate] | |
| 4) to start obfuscating, add a HTML code or HTML block with <start></start> |
| <?php | |
| add_action( 'parse_request', 'disable_front_end', 99 ); | |
| function disable_front_end() { | |
| global $wp; | |
| /** | |
| * If the request is not part of a CRON, REST Request, GraphQL Request or Admin request, |
Consider supporting my work by purchasing the course this tutorial is a part of i.e. VSCode Power User →
Local by FlyWheel WordPress install is a custom install| const setup = () => { | |
| const nearestColorScript = document.createElement('script'); | |
| document.body.appendChild(nearestColorScript); | |
| nearestColorScript.onload = onScriptLoad; | |
| nearestColorScript.src = 'https://cdn.rawgit.com/dtao/nearest-color/a017c25b/nearestColor.js'; | |
| } | |
| const onScriptLoad = () => { | |
| console.log('nearest color script loaded'); |