Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn
.
Author: Kaspars Dambis
kaspars.net / @konstruktors
#!/bin/bash | |
# Upload vps-setup.sh file | |
# open terminal and change permission like: chmod +x ./setup.sh | |
# ./vps-setup.sh | |
# delete this file after setup :) | |
COLOR_RESET="\033[33;0m" | |
COLOR_RED="\033[33;31m" | |
COLOR_GREEN="\033[33;32m" |
Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn
.
Author: Kaspars Dambis
kaspars.net / @konstruktors
The MIT License (MIT) | |
Copyright (c) 2015 Justin Perry | |
Permission is hereby granted, free of charge, to any person obtaining a copy of | |
this software and associated documentation files (the "Software"), to deal in | |
the Software without restriction, including without limitation the rights to | |
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
the Software, and to permit persons to whom the Software is furnished to do so, | |
subject to the following conditions: |
/* Set Default Mail From Name */ | |
function custom_wp_mail_from_name( $original_email_from ){ | |
return 'Danny Wilson'; | |
} | |
add_filter( 'wp_mail_from_name', 'custom_wp_mail_from_name' ); | |
/* Set Default Mail From email */ | |
function custom_wp_mail_from( $original_email_address ){ | |
return '[email protected]'; | |
} |
<?php | |
/* add this on init hook */ | |
register_taxonomy_for_object_type( 'category', 'attachment' ); | |
?> |
<?php | |
/** | |
* Font Awesome Icons Array (4.3.0) | |
* @author Monzurul Haque | |
* @author_uri https://github.com/farukham | |
**/ | |
$icons_arr = array( | |
__("None", "fifothemes") => "none", | |
__("Adjust", "fifothemes") => "fa-adjust", |