- Install WordPress
- In the /wp-content/themes directory, create a folder that matches your theme's text-domain (make sure permissions are set to 755)
- From your terminal, SSH into the server: ssh -p port user@IP
// Diamond Square | |
// https://css-tricks.com/the-shapes-of-css/ | |
#diamond { | |
width: 0; | |
height: 0; | |
border: 50px solid transparent; | |
border-bottom-color: red; | |
position: relative; | |
top: -50px; |
<?php function slug_page_titles() { | |
if(function_exists('get_field')) { | |
if($on_page_title) { ?> | |
<header class="entry-header"> | |
<h1 class="entry-title"> | |
<?php echo wp_kses( | |
$on_page_title, | |
array( | |
'span' => array(), |
echo wp_kses_post($variable); |
capitalizeString = str => { | |
str = str.toString(); | |
str = str.split(" "); | |
for (var i = 0, x = str.length; i < x; i++) { | |
str[i] = str[i][0].toUpperCase() + str[i].substr(1); | |
} | |
return str.join(" "); | |
}; |
.parent { | |
position: relative; | |
} | |
.wrapper { | |
display: block; | |
width: 50%; | |
position: absolute; | |
overflow: hidden; | |
} |
-webkit-backface-visibility: hidden; | |
-webkit-transform: translateZ(0) scale(1.0, 1.0); | |
transform: translateZ(0); |