I hereby claim:
- I am e-vance on github.
- I am evance (https://keybase.io/evance) on keybase.
- I have a public key ASCjzX3ZQIRthn0pKE-qClQyChsggyvdXpf6KB_lvE0vNgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/Library/Backblaze.bzpkg/bzdata/bzexcluderules_editable.xml.bzexclusions tag:<!-- Exclude node_modules. -->
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/node_modules/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/.git/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| <?php | |
| // Adds a custom rule type. | |
| add_filter( 'acf/location/rule_types', function( $choices ){ | |
| $choices[ __('Other','acf') ]['wc_prod_attr'] = 'WC Product Attribute'; | |
| return $choices; | |
| } ); | |
| // Adds custom rule values. | |
| add_filter( 'acf/location/rule_values/wc_prod_attr', function( $choices ){ |
playing around with animeJS.
A Pen by Henning Orth on CodePen.
| # group_vars/{staging & production}/wordpress_sites.yml | |
| [...] | |
| wordpress_sites: | |
| example.com: | |
| site_hosts: [...] | |
| [...] | |
| matomo: | |
| db: | |
| user: matomo | |
| host: localhost |
| <?php | |
| /** | |
| * BASIC -- Header image | |
| */ | |
| $basic_page_header = new FieldsBuilder('basic_page_header'); | |
| $basic_page_header | |
| ->addImage('page_header_background_image') | |
| ->addText('page_header_title', [ | |
| 'instructions' => 'Leave empty to use the site title / name', |
| <?php | |
| /** | |
| * HOME -- Slider | |
| */ | |
| $home_slider = new FieldsBuilder('home_slider'); | |
| $home_slider | |
| ->addRepeater('slider', ['min' => 1, 'max' => 5, 'layout' => 'table']) | |
| ->addImage('image') | |
| ->addText('title', [ |
| function add_theme_features() { | |
| // Add Image Sizes | |
| $containerLG = 1170; // Change this if you have updated the largest bootstrap container width. | |
| for ($i=1; $i <= 12; $i++) { | |
| add_image_size( | |
| 'col-lg-'.$i, | |
| ceil($containerLG / 12 * $i), | |
| ceil($containerLG / 12 * $i) * 10, | |
| false | |
| ); |
Post