Add this lines to wp-config.php before wp-settings
/** Increase memory limit */
define( 'WP_MEMORY_LIMIT', '1024M' );
define( 'WP_MAX_MEMORY_LIMIT', '1024M' );
| /* | |
| Frequently used proportions: | |
| Square: 1:1 -> 1 -> 100% example: 400x400px | |
| Portrait: 4:3 -> 1.333...:1 -> 75% example: 800x600px | |
| Divine: 5:3~ -> 1.618:1 -> 61.8% example: 1110x686px | |
| Landscape: 16:9 -> 1.777...:1 -> 56.25% example: 1280x720px | |
| Film A: 37:20 -> 1.85:1 -> 54.05% example: 1140x616px | |
| Film B: 21:9 -> 2.4:1 -> 41.84% example: 1140x477px | |
| */ | |
| $prop-1-1: 100%; |
location = /xmlrpc.php {
deny all;
access_log off;
log_not_found off;
}
ffmpeg -i /path/to/original/video.mp4 -vf subtitles=/path/to/subtitles.ass /path/to/video.mp4
ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i "https://embedwistia-a.akamaihd.net/deliveries/bb7d4b29e88178fdd5c6839aa15adadbcb904218.m3u8" -c copy video.mp4
| // Immediately-Invoked Function Expression, or IIFE | |
| (function () { | |
| // your code... | |
| })() | |
| //Ready jQuery | |
| $(function () { | |
| // Code after jQuery is ready... | |
| }) |
| const componentName = { | |
| myFunction: function() { | |
| // Contents Go Here | |
| }, | |
| bindAction: function() { | |
| this.myFunction(); | |
| }, | |
| init: function() { |
| // Brand Colors | |
| $brand-primary: #50b5a7; | |
| $brand-secondary: #e4e7e2; | |
| $brand-third: #004e49; | |
| // Gray Colors | |
| $white: #ffffff; | |
| $black: #000000; | |
| $gray-1: #f3f3f3; | |
| $gray-2: #e6e6e6; |