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
// Add this to the functions.php file of your WordPress theme | |
// It filters the mime types using the upload_mimes filter hook | |
// Add as many keys/values to the $mimes Array as needed | |
function my_custom_upload_mimes($mimes = array()) { | |
// Add a key and value for the CSV file type | |
$mimes['csv'] = "text/csv"; | |
return $mimes; |
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
/* | |
Put this CSS in a file that loads after the bootstrap.css | |
Eg. Inside wp-checkout/views/bootstrap/style.css | |
Start each Bootstrap class you want to override with .checkout ... | |
This example will remove the rounded corners from the button. | |
It will make the button pink with black text. | |
And on hover, active or focus the button will be red with white text | |
*/ |
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
// Place the line of code below in your wp-config.php file | |
// Defining the constant as true will tell WordPress to stop executing its cron job | |
define('DISABLE_WP_CRON', true); |
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
define('ALLOW_UNFILTERED_UPLOADS', true); |
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
.modal-backdrop { | |
display: none; | |
} |
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
[newsletters_meta key="_regular_price"] |
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
[newsletters_posts language="en" showdate="N" eftype="excerpt" orderby="post_date" order="ASC" thumbnail_size="thumbnail" thumbnail_align="left" thumbnail_hspace="15" category="" post_type="product"] |
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
<!-- Auto iFrame Height Instructions: https://www.lost-in-code.com/programming/javascript/javascript-auto-iframe-height/ --> | |
<iframe class="autoHeight" id="myframe" name="myframe" src="http://example.com/iframe.php" height="240" width="320" frameborder="0" scrolling="auto"></iframe> |
NewerOlder