First, Lets find out what version of PHP we're running (To find out if it's the default version).
To do that, Within the terminal, Fire this command:
which php
<?php | |
add_action( 'wp_enqueue_scripts', 'child_load_google_fonts' ); | |
/** | |
* Enqueue Google Fonts using a function | |
*/ | |
function child_load_google_fonts() { | |
// Setup font arguments | |
$query_args = array( |
<?php | |
/** | |
* Template Name: Experts List | |
*/ | |
get_header(); ?> | |
<div id="content"> | |
<?php while ( have_posts() ) : the_post(); ?> | |
<article <?php post_class(); ?>> | |
<header class="page-header"> | |
<h1 class="page-title"><?php the_title(); ?></h1> |
class Top_Bar_Walker extends Walker_Nav_Menu { | |
function start_lvl( &$output, $depth = 0, $args = array() ) { | |
$output .= "\n<ul class=\"sub-menu dropdown\">\n"; | |
} | |
function start_el( &$output, $object, $depth = 0, $args = array(), $current_object_id = 0 ) { | |
$item_html = ''; | |
parent::start_el( $item_html, $object, $depth, $args ); | |
$output .= ( $depth == 0 ) ? '<li class="divider"></li>' : ''; |
backend default { | |
.host = "127.0.0.1"; | |
.port = "8080"; | |
} | |
acl purge { | |
"127.0.0.1"; | |
"localhost"; | |
} |
{ | |
"New York": [ | |
"New York", | |
"Buffalo", | |
"Rochester", | |
"Yonkers", | |
"Syracuse", | |
"Albany", | |
"New Rochelle", | |
"Mount Vernon", |
<?php | |
# app/Validation/AllowedUsernameValidator.php | |
namespace App\Validation; | |
use Illuminate\Filesystem\Filesystem; | |
use Illuminate\Routing\Router; | |
use Illuminate\Config\Repository; |
document.addEventListener('DOMContentLoaded', function(event) { | |
const search = document.getElementById('search'); | |
const results = document.getElementById('results'); | |
let data = []; | |
let search_term = ''; | |
fetch('/search.json') | |
.then(response => response.json()) | |
.then(data_server => { | |
data = data_server; |