https://guides.github.com/features/mastering-markdown/
#Heading 1
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
https://guides.github.com/features/mastering-markdown/
#Heading 1
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
WordPress Multisite won't run on any port except 80 apparently (not tested). :8080 != :80
127.0.0.1
to your chosen domainhosts
file : 127.0.0.1 sub.your.domain
Mac (Terminal):
/**
* Fancy excerpts
*
* @link: http://wptheming.com/2015/01/excerpt-versus-content-for-archives/
*/
function the_fancy_excerpt() {
global $post;
if ( has_excerpt() ) :
the_excerpt();
/* Courtesy of CSS Tricks: https://css-tricks.com/snippets/css/clear-fix/ */ | |
.group:after { | |
content: ""; | |
display: table; | |
clear: both; | |
} |
Source: WPBeginner
// The easy way
$blogname = get_bloginfo();
echo '<div>© ' . date( 'Y' ) . ' $blogname</div>';
/**
* The DYNAMIC WAY
*/
function dynamic_copyright() {
<?php | |
/** | |
* Learn how to create custom Action and Filter hooks. | |
* | |
* @link https://www.lynda.com/PHP-tutorials/Creating-custom-hooks/508212/547129-4.html | |
*/ | |
/** | |
* 1. Custom FILTER Hook ------------------------------ | |
*/ |
// React Native syntax | |
var MyComponent = React.createClass({ | |
render() { | |
return <div> | |
<h1>Hello World</h1> | |
<p>This is my first React component!</p> | |
</div> | |
} | |
}) |