View list.html
<ul id="myList"> | |
<li>List Item One</li> | |
<li>List Item Two</li> | |
</ul> |
View link.css
a { | |
color: #000; | |
display:inline-block; | |
text-decoration: none; | |
position: relative; | |
} | |
a::after { | |
height:2px; | |
position:absolute; |
View install-full.sh
wp core download | |
wp core config --dbname=$1 --dbuser=root --dbpass=root --dbhost=localhost --extra-php <<PHP | |
define( 'WP_DEBUG', true ); | |
define( 'WP_DEBUG_LOG', true ); | |
PHP | |
wp db create | |
wp core install --url=http://$1.com --title=$1 --admin_user=admin --admin_password=password --admin_email=admin@$1.com |
View add-section.php
$wp_customize->add_section( 'cd_colors' , array( | |
'title' => 'Colors', | |
'priority' => 30, | |
) ); |
View custom-header.css
.site-content-contain { | |
position: static; | |
} | |
#review-head { | |
position: absolute; | |
top:55px; | |
left:0px; | |
padding:22px; | |
color:#fff; |
View return-types.php
function getNumber(): int { | |
return 6; | |
} | |
// Returns an integer so all is well | |
function getNumber(): int { | |
return 'six'; | |
} |
View all.sh
wp @all plugin update-all |
View add-3.js
var cleanCSS = require('gulp-clean-css'); | |
var autoprefixer = require('gulp-autoprefixer'); | |
var sass = require('gulp-sass'); |
NewerOlder