- 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
| -webkit-backface-visibility: hidden; | |
| -webkit-transform: translateZ(0) scale(1.0, 1.0); | |
| transform: translateZ(0); |
| .parent { | |
| position: relative; | |
| } | |
| .wrapper { | |
| display: block; | |
| width: 50%; | |
| position: absolute; | |
| overflow: hidden; | |
| } |
| 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(" "); | |
| }; |
| echo wp_kses_post($variable); |
| <?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(), |
| // 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 | |
| /** | |
| * Global Site Information | |
| */ | |
| if ( function_exists( 'acf_add_options_page' ) ) { | |
| acf_add_options_page( | |
| array( | |
| 'page_title' => 'Global Website Information', | |
| 'menu_title' => 'Site Global Info', |