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
| {"lastUpload":"2020-03-27T09:02:12.683Z","extensionVersion":"v3.4.3"} |
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
| var gulp = require('gulp'), | |
| gutil = require('gulp-util' ), | |
| ftp = require('vinyl-ftp'); | |
| gulp.task('deploy', function() { | |
| var conn = ftp.create({ | |
| host: '******', | |
| user: '******', | |
| password: '******', |
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 | |
| $idObj = get_category_by_slug('s_about'); | |
| $id = $idObj->term_id; | |
| echo get_cat_name($id); | |
| ?> |
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 if ( have_posts() ) : query_posts('p=1'); | |
| while (have_posts()) : the_post(); ?> | |
| <?php the_title(); ?> | |
| <?php the_content(); ?> | |
| <?php the_post_thumbnail(array(100, 100)); ?> | |
| <?php endwhile; endif; wp_reset_query(); ?> |
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
| Самый легкий способ установить цель. | |
| Важно чтобы на сайте был скрипт jQuery! | |
| <script> | |
| jQuery(document).ready(function(){ | |
| jQuery('form .btn-class').click(function(){ | |
| ga('send', 'event', 'knopka', 'click'); | |
| }); | |
| }); |
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
| Переходим в меню: "Настройки" > "Контроль доступа" | |
| Переходим на вкладку "Политики доступа" | |
| Копируем "Content Editor", редактируем и называем новую политику "Менеджер" | |
| Устанавливаем разрешения: | |
| Установить галку "Изменять права доступа (chmod) к каталогам" | |
| Установить галку "Создавать каталоги в файловой системе" | |
| Установить галку "Получать список подкаталогов для каталога в файловой системе" | |
| Установить галку "Переименовывать каталоги в файловой системе" | |
| Установить галку "Создавать файлы" | |
| Установить галку "Смотреть список файлов в определенном каталоге" |
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
| Tabs: | |
| [ | |
| {"caption":"Tab Title", "fields": [ | |
| {"field":"title","caption":"Name"}, | |
| {"field":"description","caption":"Description","inputTVtype":"textarea"}, | |
| {"field":"imageTV","caption":"Photo","inputTV":"imageTV"} | |
| ]} | |
| ] | |
| Table: |
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
| /* | |
| * Replace all SVG images with inline SVG | |
| */ | |
| jQuery('img.svg').each(function(){ | |
| var $img = jQuery(this); | |
| var imgID = $img.attr('id'); | |
| var imgClass = $img.attr('class'); | |
| var imgURL = $img.attr('src'); | |
| jQuery.get(imgURL, function(data) { |
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
| //Html | |
| <div class="container"> | |
| <div class="row"> | |
| <div class="col-xs-6"> | |
| <div class="lines" data-count="20000"></div> | |
| </div> | |
| <div class="col-xs-6"> | |
| <div class="lines" data-count="160000"></div> | |
| </div> |
NewerOlder