Getting started:
Related tutorials:
| <div class="slider-area slider-drag-wrap"><div class="swiper th-slider destination-slider swiper-coverflow swiper-3d swiper-initialized swiper-horizontal swiper-pointer-events swiper-watch-progress" id="aboutSlider1" data-slider-options="{"breakpoints":{"0":{"slidesPerView":1},"576":{"slidesPerView":"2"},"992":{"slidesPerView":"3"},"1200":{"slidesPerView":"3"}},"effect":"coverflow","coverflowEffect":{"rotate":"0","stretch":"95","depth":"212","modifier":"1"},"centeredSlides":"true"}"><div class="swiper-wrapper" style="transition-duration: 0ms; transform: translate3d(-1824px, 0px, 0px);" id="swiper-wrapper-cd02ef657eaee54c" aria-live="off"><div class="swiper-slide swiper-slide-duplicate" data-swiper-slide-index="7" style="width: 432px; transition-duration: 0ms; tran |
| define('MULTISITE', true); | |
| define('SUBDOMAIN_INSTALL', false); | |
| define('DOMAIN_CURRENT_SITE', 'new-multisite-setup.dev'); | |
| define('PATH_CURRENT_SITE', '/'); | |
| define('SITE_ID_CURRENT_SITE', 1); | |
| define('BLOG_ID_CURRENT_SITE', 1); |
| /* ------------------------------------------------------------------ajax comments - add to functions.php ------- */ | |
| add_action('comment_post', 'ajaxify_comments',20, 2); | |
| function ajaxify_comments($comment_ID, $comment_status){ | |
| if(!empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest'){ | |
| switch($comment_status){ | |
| case "0": | |
| wp_notify_moderator($comment_ID); | |
| case "1": //Approved comment | |
| echo "success"; |
Getting started:
Related tutorials:
| <select name="countries"> | |
| <option value="United States">United States</option> | |
| <option value="United Kingdom">United Kingdom</option> | |
| <option value="Afghanistan">Afghanistan</option> | |
| <option value="Albania">Albania</option> | |
| <option value="Algeria">Algeria</option> | |
| <option value="American Samoa">American Samoa</option> | |
| <option value="Andorra">Andorra</option> | |
| <option value="Angola">Angola</option> | |
| <option value="Anguilla">Anguilla</option> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>HTML5 GPS</title> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |
| <meta name="apple-mobile-web-app-capable" content="yes"> | |
| <meta name="apple-mobile-web-app-status-bar-style" content="black"> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> |
| # Atom Cheatsheet. | |
| # Project Key Bindings. | |
| - 'cmd-shift-p': open the command palette. | |
| - 'cmd-p' or 'cmd-t': open the fuzzy finder to find a file. | |
| - 'cmd-b': look for a file that is already open. | |
| - 'cmd-shift-b': search the list of files modified and untracked in your project repository. | |
| - 'ctrl-0': open and focus the the tree view. |
| /* ******************************************************************************************* | |
| * GLOBAL OBJECTS > ARRAY | |
| * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array | |
| * ******************************************************************************************* */ | |
| // Global object: properties | |
| Array.length // Reflects the number of elements in an array | |
| // Global object: methods |
| /* ******************************************************************************************* | |
| * THE UPDATED VERSION IS AVAILABLE AT | |
| * https://github.com/LeCoupa/awesome-cheatsheets | |
| * ******************************************************************************************* */ | |
| // 0. Synopsis. | |
| // http://nodejs.org/api/synopsis.html |
| <LinearLayout | |
| android:orientation="vertical" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content"> | |
| <TextView | |
| android:text="Guest List" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" /> | |