Файловый менеджер - Редактировать - /home/adiggxhn/it-latam.com/wp-content/uploads/elementor-widget/class-pxl-post-carousel.php
Ðазад
<?php class PxlPostCarousel_Widget extends Pxltheme_Core_Widget_Base{ protected $name = 'pxl_post_carousel'; protected $title = 'Case Post Carousel'; protected $icon = 'eicon-posts-carousel'; protected $categories = array( 'pxltheme-core' ); protected $params = '{"sections":[{"name":"layout_section","label":"Layout","tab":"layout","controls":[{"name":"post_type","label":"Select Post Type","type":"select","multiple":true,"options":{"post":"Entrada","portfolio":"Portfolio","service":"Services"},"default":"post"},{"name":"layout_post","label":"Select Template of Entrada","type":"layoutcontrol","default":"post-1","options":{"post-1":{"label":"Layout 1","image":"https:\/\/it-latam.com\/wp-content\/themes\/safebyte\/elements\/assets\/img\/pxl_post_carousel\/post-layout1.jpg"},"post-2":{"label":"Layout 2","image":"https:\/\/it-latam.com\/wp-content\/themes\/safebyte\/elements\/assets\/img\/pxl_post_carousel\/post-layout2.jpg"}},"prefix_class":"post-layout-","condition":{"post_type":["post"]}},{"name":"layout_portfolio","label":"Select Template of Portfolio","type":"layoutcontrol","default":"post-1","options":{"portfolio-1":{"label":"Layout 1","image":"https:\/\/it-latam.com\/wp-content\/themes\/safebyte\/elements\/assets\/img\/pxl_post_carousel\/portfolio-layout1.jpg"}},"prefix_class":"post-layout-","condition":{"post_type":["portfolio"]}},{"name":"layout_service","label":"Select Template of Services","type":"layoutcontrol","default":"post-1","options":{"service-1":{"label":"Layout 1","image":"https:\/\/it-latam.com\/wp-content\/themes\/safebyte\/elements\/assets\/img\/pxl_post_carousel\/service-layout1.jpg"}},"prefix_class":"post-layout-","condition":{"post_type":["service"]}}]},{"name":"section_source","label":"Source","tab":"settings","controls":[{"name":"select_post_by","label":"Select posts by","type":"select","multiple":true,"options":{"term_selected":"Terms selected","post_selected":"Posts selected "},"default":"term_selected"},{"name":"source_post","label":"Select Term of Entrada","type":"select2","multiple":true,"options":{"business-consulting|category":"Business Consulting","corporate|category":"Corporate","it-solutions|category":"IT Solutions","marketing|category":"Marketing","startup-consulting|category":"Startup Consulting","uncategorized|category":"Uncategorized"},"condition":{"post_type":["post"],"select_post_by":"term_selected"}},{"name":"source_portfolio","label":"Select Term of Portfolio","type":"select2","multiple":true,"options":{"business|portfolio-category":"Business","business-consulting|portfolio-category":"Business Consulting","corporate|portfolio-category":"Corporate","it-solutions|portfolio-category":"IT Solutions","marketing|portfolio-category":"Marketing","startup|portfolio-category":"Startup"},"condition":{"post_type":["portfolio"],"select_post_by":"term_selected"}},{"name":"source_service","label":"Select Term of Services","type":"select2","multiple":true,"options":[],"condition":{"post_type":["service"],"select_post_by":"term_selected"}},{"name":"source_post_post_ids","label":"Select posts","type":"select2","multiple":true,"options":{"292":"11 Emerging Construction Technology Trends 2025","299":"Step-by-Step: How to Create a Powerful Chatbot","302":"Top 20 Software Development Companies in San Francisco","432":"How AI Improves the Language Learning Experience","11874":"The Rise of AI: How Artificial Intelligence is Transforming IT","11876":"DevOps Best Practices: Streamlining Development and Operations","11883":"Cloud Computing Essentials: Choosing the Right Platform for Your Business","11884":"The Future of Web Development: Trends to Watch in 2025","11885":"Breaking Into IT: Skills Every Beginner Should Master","11875":"Cybersecurity in 2025: What You Need to Know","1":"Hello world!"},"condition":{"post_type":["post"],"select_post_by":"post_selected"}},{"name":"source_portfolio_post_ids","label":"Select posts","type":"select2","multiple":true,"options":{"2403":"IT Solutions Future","2418":"Integrated Innovations","2420":"Differentiated Performance","2422":"Private trust management","2424":"Transformed Its Pricing Capability","2426":"Partnership System","11729":"Consulting Strategies for Startups","11735":"Custom Software Development","11738":"Startup Mistakes to Avoid","11741":"IT Infrastructure Optimization","11744":"Managing Corporate Change","11748":"Scaling Your Business"},"condition":{"post_type":["portfolio"],"select_post_by":"post_selected"}},{"name":"source_service_post_ids","label":"Select posts","type":"select2","multiple":true,"options":{"1829":"Managed IT Services","1831":"Data Protection","1833":"Security Services","1835":"Cloud Solutions","6776":"Co-Managed IT Services","6777":"Disaster & Business Continuity","9931":"Business Continuity"},"condition":{"post_type":["service"],"select_post_by":"post_selected"}},{"name":"orderby","label":"Order By","type":"select","default":"date","options":{"date":"Date","ID":"ID","author":"Author","title":"Title","rand":"Random"}},{"name":"order","label":"Sort Order","type":"select","default":"desc","options":{"desc":"Descending","asc":"Ascending"}},{"name":"limit","label":"Total items","type":"number","default":"6"}]},{"name":"section_carousel","label":"Carousel","tab":"settings","controls":[{"name":"pxl_animate","label":"Safebyte Animate","type":"select","options":{"":"None","wow bounce":"bounce","wow flash":"flash","wow pulse":"pulse","wow rubberBand":"rubberBand","wow shake":"shake","wow swing":"swing","wow tada":"tada","wow wobble":"wobble","wow bounceIn":"bounceIn","wow bounceInDown":"bounceInDown","wow bounceInLeft":"bounceInLeft","wow bounceInRight":"bounceInRight","wow bounceInUp":"bounceInUp","wow bounceOut":"bounceOut","wow bounceOutDown":"bounceOutDown","wow bounceOutLeft":"bounceOutLeft","wow bounceOutRight":"bounceOutRight","wow bounceOutUp":"bounceOutUp","wow fadeIn":"fadeIn","wow fadeInDown":"fadeInDown","wow fadeInDownBig":"fadeInDownBig","wow fadeInLeft":"fadeInLeft","wow fadeInLeftBig":"fadeInLeftBig","wow fadeInRight":"fadeInRight","wow fadeInRightBig":"fadeInRightBig","wow fadeInUp":"fadeInUp","wow fadeInUpBig":"fadeInUpBig","wow fadeOut":"fadeOut","wow fadeOutDown":"fadeOutDown","wow fadeOutDownBig":"fadeOutDownBig","wow fadeOutLeft":"fadeOutLeft","wow fadeOutLeftBig":"fadeOutLeftBig","wow fadeOutRight":"fadeOutRight","wow fadeOutRightBig":"fadeOutRightBig","wow fadeOutUp":"fadeOutUp","wow fadeOutUpBig":"fadeOutUpBig","wow flip":"flip","wow flipCase":"flipCase","wow flipInX":"flipInX","wow flipInY":"flipInY","wow flipOutX":"flipOutX","wow flipOutY":"flipOutY","wow lightSpeedIn":"lightSpeedIn","wow lightSpeedOut":"lightSpeedOut","wow rotateIn":"rotateIn","wow rotateInDownLeft":"rotateInDownLeft","wow rotateInDownRight":"rotateInDownRight","wow rotateInUpLeft":"rotateInUpLeft","wow rotateInUpRight":"rotateInUpRight","wow rotateOut":"rotateOut","wow rotateOutDownLeft":"rotateOutDownLeft","wow rotateOutDownRight":"rotateOutDownRight","wow rotateOutUpLeft":"rotateOutUpLeft","wow rotateOutUpRight":"rotateOutUpRight","wow hinge":"hinge","wow rollIn":"rollIn","wow rollOut":"rollOut","wow zoomInSmall":"zoomInSmall","wow zoomIn":"zoomInBig","wow zoomOut":"zoomOut","wow skewIn":"skewInLeft","wow skewInRight":"skewInRight","wow skewInBottom":"skewInBottom","wow RotatingY":"RotatingY","wow PXLfadeInUp":"PXLfadeInUp","fadeInPopup":"fadeInPopup"},"default":""},{"name":"filter","label":"Filter on Masonry","type":"select","default":"false","options":{"true":"Enable","false":"Disable"},"condition":{"select_post_by":"term_selected"}},{"name":"filter_type","label":"Filter Type","type":"select","default":"normal","options":{"normal":"Normal","ajax":"Ajax"},"condition":{"select_post_by":"term_selected","filter":"true"}},{"name":"filter_default_title","label":"Filter Default Title","type":"text","default":"All","condition":{"filter":"true","select_post_by":"term_selected"}},{"name":"col_xs","label":"Columns XS Devices","type":"select","default":"1","options":{"1":"1","2":"2","3":"3","4":"4","6":"6"}},{"name":"col_sm","label":"Columns SM Devices","type":"select","default":"2","options":{"1":"1","2":"2","3":"3","4":"4","6":"6"}},{"name":"col_md","label":"Columns MD Devices","type":"select","default":"2","options":{"1":"1","2":"2","3":"3","4":"4","6":"6","custom":"custom"}},{"name":"col_md_custom","label":"Columns MD Custom","type":"text","label_block":true,"description":"Enter number.","condition":{"col_md":"custom"}},{"name":"col_lg","label":"Columns LG Devices","type":"select","default":"3","options":{"1":"1","2":"2","3":"3","4":"4","6":"6","custom":"custom"}},{"name":"col_lg_custom","label":"Columns LG Custom","type":"text","label_block":true,"description":"Enter number.","condition":{"col_lg":"custom"}},{"name":"col_xl","label":"Columns XL Devices","type":"select","default":"3","options":{"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","custom":"custom"}},{"name":"col_xl_custom","label":"Columns XL Custom","type":"text","label_block":true,"description":"Enter number.","condition":{"col_xl":"custom"}},{"name":"col_xxl","label":"Columns XXL Devices","type":"select","default":"3","options":{"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","custom":"custom"}},{"name":"col_xxl_custom","label":"Columns XXL Custom","type":"text","label_block":true,"description":"Enter number.","condition":{"col_xxl":"custom"}},{"name":"slides_to_scroll","label":"Slides to scroll","type":"select","default":"1","options":{"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6"}},{"name":"arrows","label":"Show Arrows","type":"switcher","default":false},{"name":"pagination","label":"Show Pagination","type":"switcher","default":false},{"name":"pagination_type","label":"Pagination Type","type":"select","default":"bullets","options":{"bullets":"Bullets","fraction":"Fraction","progressbar":"Progressbar"},"condition":{"pagination":"true"}},{"name":"pause_on_hover","label":"Pause on Hover","type":"switcher","default":false},{"name":"autoplay","label":"Autoplay","type":"switcher","default":false},{"name":"autoplay_speed","label":"Autoplay Delay","type":"number","default":5000,"condition":{"autoplay":"true"}},{"name":"infinite","label":"Infinite Loop","type":"switcher","default":false},{"name":"speed","label":"Animation Speed","type":"number","default":500},{"name":"drap","label":"Show Scroll Drap","type":"switcher","default":false},{"name":"show_filter","label":"Term Filter","type":"switcher","default":"false","conditions":{"relation":"or","terms":[{"terms":[{"name":"post_type","operator":"==","value":"portfolio"},{"name":"layout_portfolio","operator":"in","value":["portfolio-1"]}]}]}},{"name":"ft_default_title","label":"Filter Default Title","type":"text","default":"All","condition":{"show_filter":"true"}},{"name":"align_ft","label":"Alignment Filter","type":"choose","control_type":"responsive","options":{"left":{"title":"Left","icon":"eicon-text-align-left"},"center":{"title":"Center","icon":"eicon-text-align-center"},"right":{"title":"Right","icon":"eicon-text-align-right"}},"selectors":{"{{WRAPPER}} .pxl-grid-filter":"text-align: {{VALUE}} !important;"},"condition":{"show_filter":"true"}}]},{"name":"section_display","label":"Display","tab":"settings","controls":[{"name":"img_size","label":"Image Size","type":"text","description":"Enter image size (Example: \"thumbnail\", \"medium\", \"large\", \"full\" or other sizes defined by theme). Alternatively enter size in pixels (Default: 370x300 (Width x Height)).","conditions":{"relation":"or","terms":[{"terms":[{"name":"post_type","operator":"==","value":"post"},{"name":"layout_post","operator":"in","value":["post-1"]}]},{"terms":[{"name":"post_type","operator":"==","value":"portfolio"},{"name":"layout_portfolio","operator":"in","value":["portfolio-1"]}]}]}},{"name":"show_date","label":"Show Date","type":"switcher","default":"true","conditions":{"relation":"or","terms":[{"terms":[{"name":"post_type","operator":"==","value":"post"},{"name":"layout_post","operator":"in","value":["post-1","post-2","post-3"]}]}]}},{"name":"show_category","label":"Show Category","type":"switcher","default":"true","conditions":{"relation":"or","terms":[{"terms":[{"name":"post_type","operator":"==","value":"post"},{"name":"layout_post","operator":"in","value":["post-1","post-2","post-3"]}]},{"terms":[{"name":"post_type","operator":"==","value":"portfolio"},{"name":"layout_portfolio","operator":"in","value":["portfolio-1"]}]}]}},{"name":"show_author","label":"Show Author","type":"switcher","default":"true","conditions":{"relation":"or","terms":[{"terms":[{"name":"post_type","operator":"==","value":"post"},{"name":"layout_post","operator":"in","value":["post-1","post-2"]}]}]}},{"name":"show_comment","label":"Show Comment","type":"switcher","default":"true","conditions":{"relation":"or","terms":[{"terms":[{"name":"post_type","operator":"==","value":"post"},{"name":"layout_post","operator":"in","value":["post-1"]}]}]}},{"name":"show_excerpt","label":"Show Excerpt","type":"switcher","default":"true","conditions":{"relation":"or","terms":[{"terms":[{"name":"post_type","operator":"==","value":"post"},{"name":"layout_post","operator":"in","value":["post-1","post-2"]}]},{"terms":[{"name":"post_type","operator":"==","value":"service"},{"name":"layout_service","operator":"in","value":["service-1"]}]},{"terms":[{"name":"post_type","operator":"==","value":"portfolio"},{"name":"layout_portfolio","operator":"in","value":["portfolio-1"]}]}]}},{"name":"num_words","label":"Number of Words","type":"number","default":25,"separator":"after","conditions":{"relation":"or","terms":[{"terms":[{"name":"post_type","operator":"==","value":"post"},{"name":"layout_post","operator":"in","value":["post-1","post-2"]},{"name":"show_excerpt","operator":"==","value":"true"}]},{"terms":[{"name":"post_type","operator":"==","value":"service"},{"name":"layout_service","operator":"in","value":["service-1"]}]},{"terms":[{"name":"post_type","operator":"==","value":"portfolio"},{"name":"layout_portfolio","operator":"in","value":["portfolio-1"]}]}]}},{"name":"show_button","label":"Show Button Readmore","type":"switcher","default":"true","conditions":{"relation":"or","terms":[{"terms":[{"name":"post_type","operator":"==","value":"post"},{"name":"layout_post","operator":"in","value":["post-1","post-2"]}]},{"terms":[{"name":"post_type","operator":"==","value":"service"},{"name":"layout_service","operator":"in","value":["service-1"]}]},{"terms":[{"name":"post_type","operator":"==","value":"portfolio"},{"name":"layout_portfolio","operator":"in","value":["portfolio-1"]}]}]}},{"name":"button_text","label":"Button Text","type":"text","conditions":{"relation":"or","terms":[{"terms":[{"name":"post_type","operator":"==","value":"post"},{"name":"layout_post","operator":"in","value":["post-1","post-2"]},{"name":"show_button","operator":"==","value":"true"}]},{"terms":[{"name":"post_type","operator":"==","value":"service"},{"name":"layout_service","operator":"in","value":["service-1"]}]},{"terms":[{"name":"post_type","operator":"==","value":"portfolio"},{"name":"layout_portfolio","operator":"in","value":["portfolio-1"]}]}]}}]},{"name":"section_style_title","label":"Style","tab":"style","controls":[{"name":"style_layout","label":"Style","type":"select","options":{"style-1":"Style 1","style-2":"Style 2"},"default":"style-1"},{"name":"title_color","label":"Color","type":"color","selectors":{"{{WRAPPER}} .pxl-swiper-slider .pxl-post--title":"color: {{VALUE}};"}},{"name":"title_color_hover","label":"Color Hover","type":"color","selectors":{"{{WRAPPER}} .pxl-swiper-slider .pxl-post--inner:hover .pxl-post--title":"color: {{VALUE}};"}},{"name":"title_typography","label":"Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-swiper-slider .pxl-post--title"}]}]}'; protected $styles = array( ); protected $scripts = array( 'swiper','pxl-swiper','carousel' ); }
| ver. 1.1 | |
.
| PHP 8.4.20 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0.5 |
proxy
|
phpinfo
|
ÐаÑтройка