This file contains hidden or 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
// https://gist.github.com/jpdery/40ae985c43b2168b7869f70ca0e5aab3 | |
// IE 11 Min Height Flex Fix | |
if (window.navigator.userAgent.indexOf('Trident/7.0') > 0 || | |
window.navigator.userAgent.indexOf('Trident/6.0') > 0) (function($) { | |
$('*:not(.no-ie-flex-fix').each(function(i, element) { | |
element = $(element) | |
var timeout = null |
This file contains hidden or 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
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> |
This file contains hidden or 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 to functions.php | |
//https://wordpress.org/plugins/email-address-encoder/ | |
//***************************************************************************** | |
// Email Address Encoder - ACF fields | |
//***************************************************************************** | |
//You cannot use Firebug, Web Inspector or Dragonfly, because they decode decimal/hexadecimal entities into plain text. To make sure email addresses are encoded, right-/secondary-click the page, click “View Source”, “View Page Source” or “Source” and search for any plain text email addresses. In Firefox, be sure to test with “View Source” not “View Selection Source”. | |
add_filter('acf/load_value', 'eae_encode_emails'); |
This file contains hidden or 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
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> |
This file contains hidden or 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
<?php if(get_field('new_acf_text_area')){ | |
echo '<div>'. get_field('new_acf_text_area') .'</div>'; | |
} | |
?> |
NewerOlder