I hereby claim:
- I am kenzik on github.
- I am kenzik (https://keybase.io/kenzik) on keybase.
- I have a public key ASAR6mxnTA7_WFp9dm6ARk7Ky_xJH0lVP54OAEZKsYuUEQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/** | |
** facet classes | |
**/ | |
.facetwp-facet { | |
/* class of div that wraps each facet type */ | |
} | |
.facetwp-facet-FACET-NAME { | |
/* class for a facet where facet name is FACET-NAME, applied to same div as .facetwp-facet */ | |
} |
{ | |
"compilerOptions": { | |
"target": "ES6" | |
}, | |
"exclude": [ | |
"node_modules" | |
] | |
} |
<?php | |
/** | |
* | |
* Infinite Scroll | |
* | |
* @since 1.0.0 | |
* | |
* @author Lauren Gray | |
* @author Bill Erickson |
Mods that can't be done using the Beaver Builder Theme customizer.
// https://css-tricks.com/responsive-data-tables/ | |
// https://css-tricks.com/examples/ResponsiveTables/responsive.php | |
// http://elvery.net/demo/responsive-tables/ | |
.no-more-tables-container { | |
@mixin no-more-tables-mixin { | |
// Force table to not be like tables anymore | |
table, thead, tbody, th, td, tr { | |
display: block; | |
} |
/** | |
* Remove Rev Slider Metabox | |
*/ | |
if ( is_admin() ) { | |
function remove_revolution_slider_meta_boxes() { | |
remove_meta_box( 'mymetabox_revslider_0', 'page', 'normal' ); | |
remove_meta_box( 'mymetabox_revslider_0', 'post', 'normal' ); | |
remove_meta_box( 'mymetabox_revslider_0', 'YOUR_CUSTOM_POST_TYPE', 'normal' ); | |
} |
This tutorial walks through setting up AWS infrastructure for WordPress, starting at creating an AWS account. We'll manually provision a single EC2 instance (i.e an AWS virtual machine) to run WordPress using Nginx, PHP-FPM, and MySQL.
This tutorial assumes you're relatively comfortable on the command line and editing system configuration files. It is intended for folks who want a high-level of control and understanding of their infrastructure. It will take about half an hour if you don't Google away at some point.
If you experience any difficulties or have any feedback, leave a comment. 🐬
Coming soon: I'll write another tutorial on a high availability setup for WordPress on AWS, including load-balancing multiple application servers in an auto-scaling group and utilizing RDS.
<?php | |
# Register custom post types on the 'init' hook. | |
add_action( 'init', 'my_register_post_types' ); | |
/** | |
* Registers post types needed by the plugin. | |
* | |
* @since 1.0.0 | |
* @access public |