Skip to content

Instantly share code, notes, and snippets.

View erwstout's full-sized avatar
🧨

Eric Stout erwstout

🧨
View GitHub Profile
@thagxt
thagxt / Get Author's name outside Loop in WordPress.php
Last active May 22, 2021 12:28
Get Author's name outside Loop in WordPress
<?php
global $post;
$author_id=$post->post_author;
?>
<?php
/* You can also use one of these instead:
- nickname
- user_nicename
- display_name
import React from 'react';
import ReactDOM from 'react-dom';
import {
Router,
Route,
browserHistory
} from 'react-router'
import Header from './Components/Header';
import DayPicker from './Components/DayPicker';