Inspired by 24hoursofhappy.com
Forked from Alex Permyakov's Pen Audio Player.
Forked from Alex Permyakov's Pen Audio Player.
Inspired by 24hoursofhappy.com
Forked from Alex Permyakov's Pen Audio Player.
Forked from Alex Permyakov's Pen Audio Player.
// type='text/javascript' none ------------- | |
wp-includes\class.wp-scripts.php | |
$tag = "{$cond_before}{$before_handle}<script type='text/javascript' src='$src'></script>\n{$after_handle}{$cond_after}"; | |
// type='text/javascript' none ------------- |
// =========================================================== | |
// @media element 1201 style <-- | |
// =========================================================== | |
@media only screen and (min-width: 1201px) { |
$categories = get_the_category(); echo name categories | |
if ( !empty( $categories ) ) { | |
$caty = esc_html( $categories[1]->name ); | |
} | |
-> echo $caty; | |
echo name categories | |
https://developer.wordpress.org/reference/functions/get_the_category/ |
$(document).ready(function() { | |
$(function() { | |
$("[class*='oul'][name=submit]").click(function() { | |
$(":input.error").removeClass('error'); | |
$(".allert").remove(); | |
var error; | |
var btn = $(this); | |
var ref = btn.closest('form').find('[required]'); | |
var msg = btn.closest('form').find('input, textarea'); | |
var send_btn = btn.closest('form').find('[name=submit]'); |
<?php | |
if (!$_POST) die(); // если глобальный массив POST не передан - выход | |
if ($_POST['glut'] != "") die(); // если spam - выход | |
// иначе продолжаем | |
$response = array(); | |
$field1 = isset($_POST['name']) ? $_POST['name'] : false; | |
$field2 = isset($_POST['custom_telephone']) ? $_POST['custom_telephone'] : false; |
document.querySelectorAll('.fish-characteristic li').forEach(function(item){ | |
item.addEventListener('click',function(){ | |
document.querySelectorAll('.fish-characteristic li').forEach(function(item){ | |
item.classList.remove('active'); | |
}); | |
var id = item.getAttribute('data-id'); | |
document.querySelectorAll('.content__text').forEach(function(item2){ | |
item2.style.display = "none"; |
let socket = new WebSocket("wss://trade-crm.eu.excentral.com/socket.io/?EIO=3&transport=websocket"); | |
let firstmessage = false; | |
let json_data; | |
socket.onopen = function(e) { |
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' ); |
/------------------------------------------------- PHP --------------------------------------------------/ | |
<div id="conclusion_concludion"> | |
<?php ml_calendar(false); ?> | |
</div> | |
<script type='text/javascript'> | |
var ajax_url = "<?= admin_url('admin-ajax.php'); ?>"; | |