Server Price Breakdown: DigitalOcean, Amazon AWS LightSail, Vultr, Linode, OVH, Hetzner, Scaleway/Online.net:
Permalink: git.io/vps
| Provider | Type | RAM | Cores | Storage | Transfer | Network | Price |
|---|
| <?php | |
| /** | |
| * | |
| * Add Entry Grid Shortcode | |
| * | |
| * @since 2.0.0 | |
| * | |
| */ | |
| add_shortcode( 'entry-grid', 'basetheme_entry_grid_shortcode' ); |
| <table style="width: 600px; margin: 0 auto; padding: 0; border-spacing: 0; border-collapse: collapse;"><tbody><tr><td style="background: #040404; margin-top: 0; padding: 0;"><img style="display: block; border: 0; line-height: 1;" src="https://typewheel.xyz/share/typewheel-email-banner.png" alt="Typewheel" width="600" /></td></tr><tr><td style="padding: 2em; background-image: linear-gradient( to bottom, #D7D7D7, #E7D3BA);"><p style="margin: 0 2em 2em;">Hello [client.contact.nickname]! Here's an overview of the things I am doing to keep your site updated, optimized, and secure.</p><p style="text-align: center; margin: 0 0 1.5em;"><img style="display: block; margin: 0 auto .5em;" src="[client.logo.url]" alt="[client.name] Logo" height="100" /><span style="text-align: center; font-size: 28px;"><strong>[report.daterange]</strong></span><br /><span style="text-align: center; font-size: 28px;"><strong><a style="color: #040404; text-decoration: none;" href="[client.site.url]">[client.site.domain]</a></strong></span>< |
| <?php | |
| // Adds a [social-icons] shortcode to output Genesis Simple Share icons in posts | |
| // https://wordpress.org/plugins/genesis-simple-share/ | |
| // Add the code below to your active theme's functions.php file, | |
| // or use in a site-specific plugin. | |
| // The shortcode takes no attributes; change your icon settings via Genesis → Simple Share. | |
| add_shortcode( 'social-icons', 'gss_shortcode' ); |
| # Don't show errors which contain full path diclosure (FPD) | |
| # Use that line only if PHP is installed as a module and not per CGI | |
| # try using a php.ini in that case. | |
| # Change mod_php5.c to mod_php7.c if you are running PHP7 | |
| <IfModule mod_php5.c> | |
| php_flag display_errors Off | |
| </IfModule> | |
| # Don't list directories | |
| <IfModule mod_autoindex.c> |
| #--------------------------------------------------------------------------------------------------------------------------------------- | |
| # | |
| # Author: Kyle Brumm | |
| # Description: File used to hold Bash configuration, aliases, functions, completions, etc... | |
| # | |
| # Sections: | |
| # 1. ENVIRONMENT SETUP | |
| # 2. MAKE TERMINAL BETTER | |
| # 3. FOLDER MANAGEMENT | |
| # 4. MISC ALIAS' |
| <?php | |
| // Add the following code snippet to the functions.php file of the MainWP Customisations plugin | |
| // Download MainWP Customisations here: https://github.com/mainwp/mainwp-customisations | |
| // More about the plugin: https://mainwp.com/mainwp-customisations/ | |
| // Create Custom Client Report tokens | |
| add_filter( 'mainwp_client_reports_tokens_groups', 'mycustom_reports_tokens_groups' ); | |
| function mycustom_reports_tokens_groups( $tokens ) { | |
| // examples |
Permalink: git.io/vps
| Provider | Type | RAM | Cores | Storage | Transfer | Network | Price |
|---|
| /** | |
| * Snippets to hide EDD coupon fields & codes during the checkout process - handy if you use URLs to apply discounts instead | |
| * Tutorial: http://www.sellwithwp.com/easy-digital-downloads-hide-coupons/ | |
| */ | |
| // Removes the field to enter a discount at checkout | |
| remove_action( 'edd_checkout_form_top', 'edd_discount_field', -1 ); | |
| // Changes the discount code in the checkout summary to display "Discount applied - " instead of the code |