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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
<style> | |
html, body { | |
margin: 0; | |
} | |
*, *::before, *::after { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
let countryList = [ | |
{"code" : "AF", "name" : 'Afghanistan'}, | |
{"code" : "AL", "name" : 'Albania'}, | |
{"code" : "DZ", "name" : 'Algeria'}, | |
{"code" : "AD", "name" : 'Andorra'}, | |
{"code" : "AO", "name" : 'Angola'}, | |
{"code" : "AI", "name" : 'Anguilla'}, | |
{"code" : "AQ", "name" : 'Antarctica'}, | |
{"code" : "AG", "name" : 'Antigua and Barbuda'}, | |
{"code" : "AR", "name" : 'Argentina'}, |
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: My Theme - Enqueue Adobe Fonts | |
Plugin URI: https://wordpress.org | |
Description: Must-use plugin for custom actions and filters to run for a site | |
Version: 0.1 | |
Author: Ruben Madila | |
Author URI: https://rubenmadila.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
javascript | |
ES6ValidationInspection | |
JSAccessibilityCheckInspection | |
JSBitwiseOperatorUsageInspection | |
JSCheckFunctionSignaturesInspection | |
JSClosureCompilerSyntaxInspection | |
JSCommentMatchesSignatureInspection | |
JSComparisonWithNaNInspection | |
JSConsecutiveCommasInArrayLiteralInspection |
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 | |
/* | |
Valet driver for Wordpress Multisite | |
Forked from: https://github.com/fewagency/best-practices/blob/master/Wordpress/WordPressMultisiteValetDriver.php | |
Usage: Drop this file into your ~/.valet/Drivers/ directory. Modify the subfolders variables to include yours. | |
*/ |
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: | |
* Plugin URI: | |
* Description: | |
* Version: 1.0 | |
* Author: Rabbitinblack | |
* Author URI: http://www.rabbitinblack.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
/** | |
* How to link into the WordPress Customizer | |
*/ | |
Simple Link: | |
<a href="<?php echo esc_url( admin_url( 'customize.php' ) ); ?>">Link to Customizer</a> | |
Link to Panel: | |
$query['autofocus[panel]'] = 'nav_menus'; |
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
/* File location: /src/enqueue-assets-template.php */ | |
<?php | |
/** | |
* Template for the webpack config to be replace the appropiate assets. It uses the shortcode format [asset_name] | |
* The asset name is the webpack [name] of the original asset minus the extension, e.g. [theme.styles] for theme.styles.css | |
* Enqueue scripts and styles. | |
*/ | |
function webpack_enqueue_assets() { |
NewerOlder