Inspired by 24hoursofhappy.com
Forked from Alex Permyakov's Pen Audio Player.
Forked from Alex Permyakov's Pen Audio Player.
<?php | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); | |
if(isset($_FILES) && (bool) $_FILES) { | |
$allowedExtensions = array("pdf","doc","docx","gif","jpeg","jpg","png","rtf","txt"); | |
$files = array(); |
/** | |
* checkbox | |
*/ | |
input[type=checkbox] { | |
opacity: 0; | |
} | |
input[type=checkbox]+label { | |
position: relative; | |
margin-left: 20px; | |
} |
<?php | |
if($_POST) | |
{ | |
$to_email = "a.kazakov@computer-ufa.ru"; //Recipient email, Replace with own email here | |
$from_email = "noreply@YOUR-DOMAIN.com"; //From email address (eg: no-reply@YOUR-DOMAIN.com) | |
$subject = "subject"; | |
//Sanitize input data using PHP filter_var(). | |
$phone1 = filter_var($_POST["phone1"], FILTER_SANITIZE_STRING); | |
$phone2 = filter_var($_POST["phone2"], FILTER_SANITIZE_STRING); |
Inspired by 24hoursofhappy.com
Forked from Alex Permyakov's Pen Audio Player.
Forked from Alex Permyakov's Pen Audio Player.
function remove_scripts() { | |
wp_dequeue_script( 'script-name' ); | |
} | |
function remove_styles() { | |
wp_dequeue_style( 'style-name' ); | |
} | |
add_action( 'wp_print_scripts', 'remove_scripts' ); | |
add_action( 'wp_print_styles', 'remove_styles' ); |
![Иллюстрация к проекту](https://github.com/jon/coolproject/raw/master/image/image.png) | |
![Image alt](https://github.com/{username}/{repository}/raw/{branch}/{path}/image.png) | |
{username} — ваш ник на ГитХабе; | |
{repository} — репозиторий где хранятся картинки; | |
{branch} — ветка репозитория; | |
{path} — путь к месту нахождения картинки. |
# app/javascript/packs/application.coffee | |
import 'selectize/dist/css/selectize.default' | |
import 'ladda/dist/ladda-themeless.min' | |
import 'jquery' | |
import 'foundation-sites' | |
import * as Ladda from 'ladda' | |
import '../src/js/init' | |
import '../src/js/app.draggable_images' |
<?php | |
// based on, fixed warnings http://www.designtoday.info/removing-li-menu-from-wordpress/ | |
class Description_Walker extends Walker_Nav_Menu { | |
function start_el(&$output, $item, $depth = 0, $args = array(), $id = 0) { | |
$classes = empty($item->classes) ? array () : (array) $item->classes; | |
$class_names = join(' ', apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item ) ); | |
!empty ( $class_names ) and $class_names = ' class="'. esc_attr( $class_names ) . '"'; | |
$output .= ""; | |
$attributes = ''; |
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
* Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php | |
*/ | |
$args = array( | |
//////Author Parameters - Show posts associated with certain author. |
WordPress Query Args Reference (Cheat Sheet)
Composed by: EkoJR