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
// WordPress Custom Post Type Register for Portfolio | |
register_post_type('portfolio', array( | |
'public' => true, | |
'menu_icon' => 'dashicons-portfolio', | |
'label' => __( 'Portfolio', 'local' ), | |
); |
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
# network settings | |
inet_interfaces = all | |
mydomain = yourdomain.co.uk | |
myhostname = mailer | |
mynetworks = all | |
mydestination = localhost.$mydomain, localhost | |
relay_domains = proxy:mysql:/etc/zpanel/configs/postfix/mysql-relay_domains_maps.cf |
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
<?php | |
$to = "sendtoperson@domain.com"; | |
$subject = "This is the email subject"; | |
$headers = "MIME-Version: 1.0" . "\r\n"; | |
$headers .= "Content-type: text/html; charset=iso-8859-1" . "\r\n"; | |
$headers .= "From:<email@domain.com>" . "\r\n"; | |
$headers .= "Reply-To:<sendbyperson@domain.com>" . "\r\n"; | |
$headers .= "X-Mailer: PHP/" . phpversion(); | |
$message = "This is the message"; | |
mail($to, $subject, $message, $headers); |
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
<p><?php echo wpAdminEmailUserBio(); ?></p> |
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 update all 3 types of WordPress releases | |
define('WP_AUTO_UPDATE_CORE', true); | |
// Disable all 3 types of WordPress releases | |
define('WP_AUTO_UPDATE_CORE', false); | |
// Only auto update WordPress minor core changes | |
define('WP_AUTO_UPDATE_CORE', 'minor'); |
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
5 5 * * * php /var/www/Scripts/twit-get.php |
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
<!DOCTYPE html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>ryanfitton.co.uk - Android robot using CSS3</title> | |
<meta name="description" content="ryanfitton.co.uk - Android robot using CSS3"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'> | |
<style type="text/css"> | |
body { |
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
<!DOCTYPE html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>ryanfitton.co.uk - Android robot using CSS3</title> | |
<meta name="description" content="ryanfitton.co.uk - Android robot using CSS3"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'> | |
<style type="text/css"> | |
body { |
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
/* Gmail style scrollbar */ | |
::-webkit-scrollbar { | |
width: 12px | |
} | |
::-webkit-scrollbar-thumb { | |
border-width: 1px 1px 1px 2px | |
} | |
::-webkit-scrollbar-track { | |
border-width: 0 | |
} |