This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Источник: https://www.youtube.com/playlist?list=PLbr5YJBVly_5cIevS7GPZTDH-oNntnqXK (урок 17) + https://github.com/pit6262/landing-1 | |
// Документация по slick-слайдеру: http://kenwheeler.github.io/slick/ | |
======================= js-код =================== | |
$nav_tabs_slider = $('.nav-tab-list'); | |
settings = { | |
slidesToShow: 1, | |
prevArrow: '<button type="button" class="slick-prev"><i class="fa fa-chevron-left"></i></button>', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Keymap (Windows Users): | |
[ | |
{ "keys": ["alt+shift+f"], "command": "reindent" }, | |
] | |
Settings: | |
{ | |
"show_definitions": false, | |
"auto_complete": false, | |
"bold_folder_labels": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Art Disable Extra | |
Description: Плагин отключает Емодзи, Rest API и лишние ссылки в шапке | |
Author: Артем Абрамович | |
Plugin URI: http://wpruse.ru/?p=570 | |
Author URI: abrfolio.ru | |
Version: 1.2.1 | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"aiowps_enable_debug":"","aiowps_remove_wp_generator_meta_info":"1","aiowps_prevent_hotlinking":"1","aiowps_enable_login_lockdown":"1","aiowps_allow_unlock_requests":"","aiowps_max_login_attempts":3,"aiowps_retry_time_period":5,"aiowps_lockout_time_length":60,"aiowps_set_generic_login_msg":"","aiowps_enable_email_notify":"","aiowps_email_address":"[email protected]","aiowps_enable_forced_logout":"","aiowps_logout_time_period":"60","aiowps_enable_invalid_username_lockdown":"","aiowps_instantly_lockout_specific_usernames":[],"aiowps_unlock_request_secret_key":"9boae3otjbi5x7b7q6kf","aiowps_enable_whitelisting":"","aiowps_allowed_ip_addresses":"","aiowps_enable_login_captcha":"","aiowps_enable_custom_login_captcha":"","aiowps_captcha_secret_key":"y9t13745ja38h0dirf5q","aiowps_enable_manual_registration_approval":"","aiowps_enable_registration_page_captcha":"","aiowps_enable_random_prefix":"","aiowps_enable_automated_backups":"1","aiowps_db_backup_frequency":2,"aiowps_db_backup_interval":"2","aiowps_backup_files_s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Включение кеша браузера | |
Вариант 1 | |
<ifModule mod_headers.c> | |
<FilesMatch "\.(js|css|txt)$"> | |
Header set Cache-Control "max-age=604800" | |
</FilesMatch> | |
<FilesMatch "\.(flv|swf|ico|gif|jpg|jpeg|png)$"> | |
Header set Cache-Control "max-age=2592000" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Работает на основе плагина Ajax Simply (без него работать не будет). | |
* Документация Ajax Simply - https://goo.gl/iFeLsZ | |
*/ | |
// HTML верстка формы и стили | |
add_shortcode( 'form', 'contact_form_html' ); | |
function contact_form_html() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
var setlbox = function(el) { | |
var p=$(el); | |
this.image = function (fromclass,toclass) { | |
var f=p.find('.'+fromclass); | |
$('.'+toclass).attr('src',f.attr('src')); | |
} | |
this.text = function (fromclass,toclass) { | |
var f=p.find('.'+fromclass); | |
$('.'+toclass).text(f.text()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Меню | |
/* Вставка меню в код страницы | |
<div class="wrap"> | |
<?php $args = array( | |
'theme_location' => 'primary', | |
'container' => 'nav', | |
'container_class' => 'wrap-block', | |
'container_id' => '', | |
'menu_class' => 'header-ul', | |
'menu_id' => 'menu', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Redux::setSection( $opt_name, array( | |
'title' => __( 'Text Area', 'redux-framework-demo' ), | |
'desc' => __( 'For full documentation on this field, visit: ', 'redux-framework-demo' ) . '<a href="http://docs.reduxframework.com/core/fields/textarea/" target="_blank">http://docs.reduxframework.com/core/fields/textarea/</a>', | |
'id' => 'opt-textarea-subsection', | |
'subsection' => true, | |
'fields' => array( | |
array( | |
'id' => 'background-parallax', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Тег head | |
<!-- HEAD CODE --> | |
<meta name="keywords" content="geam, reparatie, termopan, sticla, pvc, PVC, cauciuc, plastic, steclopachet, steklopaket, steklopachet, plasa, tintari, insecte, anti, ante, furt, instalare, demontare, pentru, calitate, schimbarea, schimbare, mecanizmelor, mecanizme, pozitie, blocat, blocarea, masuri, marimi, preturi foarte mici, oferte, cadou, adaugarea, lacat, lacata, comanda, usa, confectionarea, moskitnaea, moskite, moschitnaea, setca, setka, antiinsecte, anti, insecte, miner, pervaz, scurgere, deschiderea, deschidere dubla, simpla, deblocarea, blocarea, antifurt, reduceri, plastic 3 sticle, установка стеклопакета в кининёве, ремонт стеклопакета в кишинёве, герметизация мест примыкания рамы к подоконникам, Замена стеклопакета на LOW-E энергосберегающий, Обслуживание и установка створки на глухую часть, Установка балконной ручки защёлка курильщика, Установка и изготовление москитных сеток, Установка механизма для 2-го открывания, Установка и замена козырьков и отливов, Устра |