var wpmslyconf = {"ajaxurl":"https://businessfire.ru/wp-admin/admin-ajax.php","dom":"businessfire.ru","wpmSlyNonce":"f55e27c4ce"};
//# sourceURL=slydlfn-js-extra
https://businessfire.ru/wp-content/plugins/wpm-slylinks-mini/app/Slylinks/assets/frontend/js/slydirectclicks.js
Перейти к содержанию
Настройка темы reboot — Конструктор главной страницы Автор Александр Гусельников На чтение 1 мин Просмотров 1.9к. Опубликовано 22.05.2019
Первая наша тема в которой есть настройка темы reboot. И имеется конструктор для главной страницы. Пример можно посмотреть на этом демо-сайте .
Настройка главной страницы в шаблоне Reboot Вот как конструктор выглядит в кастомайзере:
Можно задать настройки по отображению записей, что-то исключить, указать рубрику и отступ. Есть возможность настроить карточки постов для каждой отдельной секции. Указать готовые пресеты — это подготовленные фоны для секций.
Чуть подробнее описано в видео-обзоре:
Блок выведен с помощью плагина OmniVideo
Видео начинается не сначала и, если еще не видели обзор, рекомендуем посмотреть его полностью.
Смотреть тему Reboot на сайте автора
Друзья, на сайте вы найдете полезную информацию по заработку в интернете, созданию и продвижению своего блога, маркетингу и партнерских программ.
Оцените автора
( 2 оценки, среднее 2.5 из 5 )
Этот сайт использует cookie для хранения данных. Продолжая использовать сайт, Вы даете свое согласие на работу с этими файлами. OK
(function(){var cls="pseudo-clearfy-link";function decodeUri(value){if(!value){return"";}if(/^https?:\/\//i.test(value)){return value;}try{return atob(value);}catch(e){return value;}}var links=document.querySelectorAll("."+cls);for(var i=0;i<links.length;i++){links[i].addEventListener("click",function(e){var el=e.currentTarget;var url=decodeUri(el.getAttribute("data-uri"));if(!url){return;}var target=el.getAttribute("data-target");if(target==="_blank"){window.open(url,"_blank");return;}window.location.href=url;});}})();
function disable_keystrokes(e) {if (e.ctrlKey || e.metaKey){var key;if(window.event)key = window.event.keyCode;else key = e.which;if (key == 67 || key == 88 || key == 65 || key == 85 || key == 83)return false;else return true;}}document.onkeydown = disable_keystrokes;
function disableSelection(target){if (typeof target.onselectstart!="undefined") target.onselectstart=function(){return false};else if (typeof target.style.MozUserSelect!="undefined")target.style.MozUserSelect="none";else target.onmousedown=function(){return false};target.style.cursor = "default"}disableSelection(document.body);
document.addEventListener("copy", (event) => {var pagelink = "\nИсточник: https://businessfire.ru/home-constructor";event.clipboardData.setData("text", document.getSelection() + pagelink);event.preventDefault();});
https://businessfire.ru/wp-content/plugins/wp-omnivideo/assets/public/js/omnivideo.min.js
var settings_array = {"rating_text_average":"\u0441\u0440\u0435\u0434\u043d\u0435\u0435","rating_text_from":"\u0438\u0437","lightbox_display":"1","sidebar_fixed":"1"};
var wps_ajax = {"url":"https://businessfire.ru/wp-admin/admin-ajax.php","nonce":"40cc31e706"};
var wpshop_views_counter_params = {"url":"https://businessfire.ru/wp-admin/admin-ajax.php","nonce":"40cc31e706","is_postviews_enabled":"","post_id":"629"};
//# sourceURL=reboot-scripts-js-extra
https://businessfire.ru/wp-content/themes/reboot/assets/js/scripts.min.js
https://businessfire.ru/wp-content/plugins/breeze/assets/js/js-front-end/breeze-lazy-load.min.js
document.addEventListener("DOMContentLoaded", function () {
if ( "function" !== typeof window.LazyLoad && "function" !== typeof LazyLoad ) {
return;
}var breezeLazyLoad = window.LazyLoad || LazyLoad;window.lazyLoadInstance = new breezeLazyLoad({
elements_selector: ".br-lazy",
data_src: "breeze",
data_srcset: "brsrcset",
data_sizes: "brsizes",
class_loaded: "br-loaded",
threshold: 300,
});
});
//# sourceURL=breeze-lazy-js-after
var q2w3_sidebar_options = [{"sidebar":"q2w3-default-sidebar","use_sticky_position":true,"margin_top":10,"margin_bottom":0,"stop_elements_selectors":"footer","screen_max_width":0,"screen_max_height":0,"widgets":["related-posts"]}];
//# sourceURL=q2w3_fixed_widget-js-extra
https://businessfire.ru/wp-content/plugins/q2w3-fixed-widget/js/frontend.min.js
window.addEventListener("DOMContentLoaded",(e=>{document.querySelectorAll('img[loading="lazy"]').forEach((e=>{e.getBoundingClientRect().top<=window.innerHeight&&(e.loading="eager")}))}));
jQuery(document).ready(function($){
$('.link').replaceWith(function(){
var id = ( null != $(this).attr('id') ) ? ' id="' + $(this).attr('id') + '"' : '',
target = ( null != $(this).attr('data-target') ) ? ' target="' + $(this).attr('data-target') + '"' : ' target="_blank"',
title = ( null != $(this).attr('title') ) ? ' title="' + $(this).attr('title') + '"' : '',
style = ( null != $(this).attr('style') ) ? ' style="' + $(this).attr('style') + '"' : '',
rel = ( null != $(this).attr('data-rel') ) ? ' rel="' + $(this).attr('data-rel') + '"' : ' rel="noopener"',
cl = ( null != $(this).attr('class') ) ? $(this).attr('class').replace('link','').trim() : '';
cl = ( '' != cl ) ? ' class="' + cl + '"' : '';
return '<a href="' + $(this).attr('data-link') + '" ' + title + id + cl + target + style + rel + ' >' + $(this).html() + '</a>';
});
});
var cookie_clearfy_hide = document.cookie.replace(/(?:(?:^|.*;\s*)clearfy_cookie_hide\s*\=\s*([^;]*).*$)|^.*$/, "$1");if ( ! cookie_clearfy_hide.length ) { document.getElementById("clearfy-cookie").classList.remove("clearfy-cookie-hide");} document.getElementById("clearfy-cookie-accept").onclick = function() { document.getElementById("clearfy-cookie").className += " clearfy-cookie-hide"; var clearfy_cookie_date = new Date(new Date().getTime() + 31536000 * 1000); document.cookie = "clearfy_cookie_hide=yes; path=/; expires=" + clearfy_cookie_date.toUTCString(); setTimeout(function() { document.getElementById("clearfy-cookie").parentNode.removeChild( document.getElementById("clearfy-cookie") ); }, 300);}
!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}()||function(i){var o=!0,s=!1;EventTarget.prototype.addEventListener=function(t,e,n){var r="object"==typeof n,a=r?n.capture:n;n=r?n:{},"touchstart"!=t&&"scroll"!=t&&"wheel"!=t||(n.passive=void 0!==n.passive?n.passive:o),n.capture=void 0!==a?a:s,i.call(this,t,e,n)}}(EventTarget.prototype.addEventListener);