A vanilla JS fork of Lettering.js. Follow along in the tutorial video at https://gomakethings.com/converting-a-jquery-plugin-to-vanilla-js-lettering.js/.
Pass in a selector for the elements you want to run Vanilla Lettering.js on.
A vanilla JS fork of Lettering.js. Follow along in the tutorial video at https://gomakethings.com/converting-a-jquery-plugin-to-vanilla-js-lettering.js/.
Pass in a selector for the elements you want to run Vanilla Lettering.js on.
| /* Box sizing rules */ | |
| * { | |
| box-sizing: border-box; | |
| } | |
| *:before, | |
| *:after { | |
| box-sizing: inherit; | |
| } |
| <?php | |
| // Unload CF7 assests | |
| add_filter( 'wpcf7_load_js', '__return_false' ); | |
| add_filter( 'wpcf7_load_css', '__return_false' ); | |
| add_action( 'the_content', 'load_cf7_assets' ); | |
| function load_cf7_assets($content){ | |
| global $post; | |
| <?php | |
| /* | |
| Assumes a custom post type called 'staff' | |
| Assumes that there is a custom taxonomy called 'department'. | |
| Every department that has at least one staff member assigned to it will | |
| populate a select field that is specified in Advanced Custom Fields. | |
| Using that Select field we can then do a query on a custom post type | |
| in this case staff and grab only the staff with our selected department. |
| #!/bin/bash | |
| # | |
| # Backup and update WordPress using wp-cli | |
| # | |
| # Set the -e shell option so the script exits immediately if any command within | |
| # it exits with a non-zero status. | |
| set -e | |
| # Set PATH environment variable |
| add_action( 'genesis_entry_content', 'sk_remove_post_meta' ); | |
| /** | |
| * Remove Post Meta in Entry Footer site-wide excerpt on static Pages. | |
| * | |
| * @author Sridhar Katakam | |
| * @link http://sridharkatakam.com/remove-post-meta-entry-footer-genesis/ | |
| */ | |
| function sk_remove_post_meta() { | |
| if ( is_singular( 'page' ) ) { | |
| return; |
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
| <?php | |
| /** | |
| * Removes the "shop" title on the main shop page | |
| */ | |
| add_filter( 'woocommerce_show_page_title', '__return_false' ); |
| // Get The Page ID You Need | |
| get_option( 'woocommerce_shop_page_id' ); | |
| get_option( 'woocommerce_cart_page_id' ); | |
| get_option( 'woocommerce_checkout_page_id' ); | |
| get_option( 'woocommerce_pay_page_id' ); | |
| get_option( 'woocommerce_thanks_page_id' ); | |
| get_option( 'woocommerce_myaccount_page_id' ); | |
| get_option( 'woocommerce_edit_address_page_id' ); | |
| get_option( 'woocommerce_view_order_page_id' ); | |
| get_option( 'woocommerce_terms_page_id' ); |