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 role="form" class="wpcf7" id="wpcf7-f31-o1" lang="ru-RU" dir="ltr"> | |
<div class="screen-reader-response"></div> | |
<form action="/#wpcf7-f31-o1" method="post" class="wpcf7-form" novalidate="novalidate"> | |
<div style="display: none;"> | |
<input type="hidden" name="_wpcf7" value="31" /> | |
<input type="hidden" name="_wpcf7_version" value="4.9" /> | |
<input type="hidden" name="_wpcf7_locale" value="ru_RU" /> | |
<input type="hidden" name="_wpcf7_unit_tag" value="wpcf7-f31-o1" /> | |
<input type="hidden" name="_wpcf7_container_post" value="0" /> | |
</div> |
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
// Добавление страницы настроек | |
add_action( 'admin_menu', 'site__add_admin_menu' ); | |
add_action( 'admin_init', 'site__settings_init' ); | |
function site__add_admin_menu( ) { | |
add_menu_page( 'Общие настройки', 'Общие настройки', 'manage_options', 'site', 'site__options_page' ); | |
} | |
function site__settings_init( ) { | |
register_setting( 'pluginPage', 'site__settings' ); |
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
$('input,textarea').focus(function(){ | |
$(this).data('placeholder',$(this).attr('placeholder')) | |
$(this).attr('placeholder',''); | |
}); | |
$('input,textarea').blur(function(){ | |
$(this).attr('placeholder',$(this).data('placeholder')); | |
}); |
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
wget -r -k -l 7 -p -E -nc http://site.com/ |
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 role="form" class="wpcf7" id="wpcf7-f4-o1" lang="en-US" dir="ltr"> | |
<div class="screen-reader-response"></div> | |
<form action="/food/#wpcf7-f4-o1" method="post" class="wpcf7-form" novalidate="novalidate"> | |
<div style="display: none;"> | |
<input type="hidden" name="_wpcf7" value="4" /> | |
<input type="hidden" name="_wpcf7_version" value="4.7" /> | |
<input type="hidden" name="_wpcf7_locale" value="en_US" /> | |
<input type="hidden" name="_wpcf7_unit_tag" value="wpcf7-f4-o1" /> | |
<input type="hidden" name="_wpnonce" value="648a975fd6" /> | |
</div> |
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
$(document).ready(function() { | |
$('a[href*=#]').on('click', function(e) { | |
e.preventDefault(); | |
var target = $(this).attr("href"); | |
$('html, body').stop().animate({ scrollTop: $(target).offset().top}, 500, function() { | |
location.hash = target; | |
}); | |
return false; | |
}); | |
}); |
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
$('#pdf_form').ajaxForm({ | |
url: "/wp-content/themes/serf/send_file.php", | |
method: "POST", | |
beforeSubmit: function(data, $form) { | |
var $name = $form.find(".js-in-name"), | |
$phone = $form.find(".js-in-phone"), | |
$mail = $form.find(".js-in-mail"); | |
printValid($name); |
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 include_once('options_page.php');?> |
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>!function(){function e(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n)}function t(e){return window.localStorage&&localStorage.font_css_cache&&localStorage.font_css_cache_file===e}function n(){if(window.localStorage&&window.XMLHttpRequest)if(t(o))a(localStorage.font_css_cache);else{var n=new XMLHttpRequest;n.open("GET",o,!0),e(n,"load",function(){4===n.readyState&&(a(n.responseText),localStorage.font_css_cache=n.responseText,localStorage.font_css_cache_file=o)}),n.send()}else{var c=document.createElement("link");c.href=o,c.rel="stylesheet",c.type="text/css",document.getElementsByTagName("head")[0].appendChild(c),document.cookie="font_css_cache"}}function a(e){var t=document.createElement("style");t.innerHTML=e,document.getElementsByTagName("head")[0].appendChild(t)}var o="_fonts.css";window.localStorage&&localStorage.font_css_cache||document.cookie.indexOf("font_css_cache")>-1?n():e(window,"load",n)}();</script> |
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, |
NewerOlder