View style.css
This file contains 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
[data-seo-name="3-shirina-sm"], | |
[data-seo-name="9-dovzhina-sm"] { | |
display: inline-flex; | |
width: 49%; | |
flex-direction: row-reverse; | |
flex-wrap: wrap; | |
padding: 5px!important; | |
} | |
[data-seo-name="3-shirina-sm"] .mfilter-heading-text, |
View functions.php
This file contains 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
function schema_TinyMCE_init( $in ) { | |
if ( ! empty( $in['extended_valid_elements'] ) ) { | |
$in['extended_valid_elements'] .= ','; | |
} | |
$in['extended_valid_elements'] .= '@[id|class|style|title|itemscope|itemtype|itemprop|datetime|rel],div,dl,ul,dt,dd,li,span,meta[!content],a|rev|charset|href|lang|tabindex|accesskey|type|name|href|target|title|class|onfocus|onblur]'; | |
if ( !empty( $in['valid_children'] ) ) { | |
$in['valid_children'] .= ','; | |
} |
View functions.php
This file contains 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
/** | |
* @param $list | |
* @param $order_id | |
* @return mixed | |
*/ | |
function user_data_function($list, $order_id){ | |
$user_id = get_current_user_id(); | |
if ($user_id){ |
View functions.php
This file contains 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_filter('trp_hreflang', 'trpc_change_hreflang', 10, 2 ); | |
function trpc_change_hreflang( $hreflang, $language ){ | |
//if ($hreflang == 'ru-RU') return false; | |
$arr = [ | |
'ru'=>'ru-UA', | |
'uk'=>'uk-UA' | |
]; |
View iframe.js
This file contains 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.querySelector('iframe').contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*'); |
View script_google_com.adm.tools.gs
This file contains 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
/** | |
* account_id - id акаунта | |
* Bearer - токен | |
*/ | |
var account_id = 1111111; | |
var Bearer = 'xxxxxxxxxxxxxxxxxxx'; | |
var baseUrl = 'https://adm.tools/'; | |
/** |
View Pechenki_sortable_design.ocmod.xml
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<modification> | |
<name>Pechenki sortable </name> | |
<code>Pechenki sortable</code> | |
<version>0.1</version> | |
<date>26.07.2022</date> | |
<author>Oleksandr</author> | |
<link>https://pechenki.top</link> | |
<file path="admin/view/template/design/{layout_form,banner_form}.twig"> |
View en.json
This file contains 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
[ | |
{ | |
"id": 1, | |
"txt": null, | |
"status": null, | |
"create_at": "2022-11-01 19:53", | |
"update_at": 1667325210 | |
}, | |
{ | |
"id": 2, |
View functions.php
This file contains 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 | |
/** | |
* pdfThumb wp | |
* [pdfThumb url="wp-content/uploads/2022/10/dummy-1.pdf"] | |
*/ | |
add_shortcode('pdfThumb',function ($attr){ | |
extract($attr); | |
if (!$url) return; |
View index.js
This file contains 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
function isInViewport(el) { | |
const rect = el.getBoundingClientRect(); | |
return ( | |
rect.top >= 0 && | |
rect.left >= 0 && | |
rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && | |
rect.right <= (window.innerWidth || document.documentElement.clientWidth) |
NewerOlder