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
<a href="https://buckrail.com" title="Jackson, WY News">Buckrail - Jackson Hole, WY News</a> |
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
<a href="https://buckrail.com" title="Jackson, WY News"><img src="https://buckrail.com/wp-content/uploads/2017/11/buckrail_circle_logo_180X180.jpg" width="90px" height="90px"></a> |
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
# ReWrite image URLS to pull from production enviroment | |
# 1 - add this to your .htacess file | |
# 2 - swap [YOUR-DOMAIN] withy our production domain name | |
RewriteCond %{REQUEST_URI} ^/wp-content/uploads/[^\/]*/.*$ | |
RewriteRule ^(.*)$ https://[YOUR-DOMAIN].com/$1 [QSA,L] |
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
# adjust filesize to be what you need | |
# add this to your .htacess file on the server | |
php_value upload_max_filesize 128M | |
php_value post_max_size 128M | |
php_value memory_limit 256M | |
php_value max_execution_time 300 | |
php_value max_input_time 300 |
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
/* | |
* Pass a date string into the function and return the age | |
* dateString = MM/DD/YYYY | |
--------------------- | |
*/ | |
function getAge(dateString) { | |
var today = new Date(), | |
birthDate = new Date(dateString), | |
age = today.getFullYear() - birthDate.getFullYear(), |
OlderNewer