Let's say you want to host domains first.com
and second.com
.
Create folders for their files:
class ImportFlamingoEntries | |
{ | |
public $db; | |
public $form; | |
public $tags; | |
public $track; | |
public $vxcf; | |
public $imported = 0; |
<!DOCTYPE html> | |
<html class="debug"> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<section> | |
<div class="container"> | |
<div class="bg-red-100 row"> | |
<div class="bg-blue-100 col p-8 | sm:w-1/2"></div> |
<? | |
// | |
// [ BUY BTC & ETH DAILY ON BITSTAMP ] | |
// by @levelsio | |
// | |
// 2017-08-23 | |
// | |
// 1) buy $40/day BTC | |
// 2) buy $10/day ETH | |
// |
<?php | |
// Translate text strings | |
// http://codex.wordpress.org/Plugin_API/Filter_Reference/gettext | |
add_filter( 'gettext', function( $translated_text, $text, $domain ) { | |
return ( $domain == 'site-reviews' && $translated_text == 'Submit your review' ) | |
? __( 'Make it so!', 'site-reviews-custom' ) | |
: $translated_text; | |
}, 20, 3 ); |
<?php | |
// Add this snippet to your active theme's functions.php file | |
add_filter( 'site-reviews/rendered/partial', function( $rendered, $partial ) { | |
if( $partial == 'reviews' ) { | |
$rendered = str_replace( '<p class="glsr-review-author">—', '<p class="glsr-review-author">', $rendered ); | |
} | |
return $rendered; | |
}, 10, 2 ); |
<?php | |
class DioscuriValetDriver extends BasicValetDriver | |
{ | |
/** | |
* Mutate the incoming URI. | |
* | |
* @param string $uri | |
* @return string | |
*/ |
server { | |
listen 80; | |
server_name mailhog.dev; | |
location / { | |
proxy_pass http://127.0.0.1:8025/; | |
proxy_set_header Host $host; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection "upgrade"; | |
} |