Let's say you want to host domains first.com and second.com.
Create folders for their files:
| <?php | |
| $copyright = 'Copyright 2020, Acme Inc.'; // copyright info of PDF file | |
| $pdfPath = '/document.pdf'; // path to PDF file | |
| $pdfTitle = 'Embedded PDF'; // title of PDF document | |
| ?><!DOCTYPE html> | |
| <html lang="en-US"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 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 | |
| */ |