PATH:
home
/
ediuae
/
agrivaingredients.com
/
wp-content
/
uploads
/
elementor-widget
<?php class PxlPostGrid_Widget extends Pxltheme_Core_Widget_Base{ protected $name = 'pxl_post_grid'; protected $title = 'BR Post Grid'; protected $icon = 'eicon-posts-grid'; protected $categories = array( 'pxltheme-core' ); protected $params = '{"sections":[{"name":"tab_layout","label":"Layout","tab":"layout","controls":[{"name":"post_type","label":"Select Post Type","type":"select","multiple":true,"options":{"post":"Post","portfolio":"Portfolio","service":"Services"},"default":"post"},{"name":"layout_post","label":"Select Template of Post","type":"layoutcontrol","default":"post-1","options":{"post-1":{"label":"Layout 1","image":"https:\/\/agrivaingredients.com\/wp-content\/themes\/gardyn\/elements\/widgets\/img-layout\/pxl_post_grid\/post-layout1.jpg"}},"prefix_class":"pxl-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:\/\/agrivaingredients.com\/wp-content\/themes\/gardyn\/elements\/widgets\/img-layout\/pxl_post_grid\/portfolio-layout1.jpg"},"portfolio-2":{"label":"Layout 2","image":"https:\/\/agrivaingredients.com\/wp-content\/themes\/gardyn\/elements\/widgets\/img-layout\/pxl_post_grid\/portfolio-layout2.jpg"},"portfolio-3":{"label":"Layout 3","image":"https:\/\/agrivaingredients.com\/wp-content\/themes\/gardyn\/elements\/widgets\/img-layout\/pxl_post_grid\/portfolio-layout3.jpg"}},"prefix_class":"pxl-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:\/\/agrivaingredients.com\/wp-content\/themes\/gardyn\/elements\/widgets\/img-layout\/pxl_post_grid\/service-layout1.jpg"},"service-2":{"label":"Layout 2","image":"https:\/\/agrivaingredients.com\/wp-content\/themes\/gardyn\/elements\/widgets\/img-layout\/pxl_post_grid\/service-layout2.jpg"},"service-3":{"label":"Layout 3","image":"https:\/\/agrivaingredients.com\/wp-content\/themes\/gardyn\/elements\/widgets\/img-layout\/pxl_post_grid\/service-layout3.jpg"}},"prefix_class":"pxl-post-layout-","condition":{"post_type":["service"]}}]},{"name":"tab_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 Post","type":"select2","multiple":true,"options":{"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":{"arizona|portfolio-category":"Arizona","california|portfolio-category":"California","colorado|portfolio-category":"Colorado","north-carolina|portfolio-category":"North Carolina","seattle|portfolio-category":"Seattle","south-carolina|portfolio-category":"South Carolina"},"condition":{"post_type":["portfolio"],"select_post_by":"term_selected"}},{"name":"source_service","label":"Select Term of Services","type":"select2","multiple":true,"options":{"decking-and-patio|service-category":"Decking and Patio","garden-irrigation|service-category":"Garden Irrigation","garden-maintenance|service-category":"Garden Maintenance","outdoor-lighting|service-category":"Outdoor Lighting"},"condition":{"post_type":["service"],"select_post_by":"term_selected"}},{"name":"source_post_post_ids","label":"Select posts","type":"select2","multiple":true,"options":{"448":"Elegant Pathways to Enhance Your Garden","623":"Elegant Pathways to Enhance Your Garden p2","618":"Seasonal Plants for a Year-Round Garden","619":"Low-Maintenance Garden Landscaping Ideas","620":"DIY Tips for a Stunning Garden Makeover","621":"Top Trends in Modern Garden Landscaping","622":"Creative Garden Layouts for Every Space"},"condition":{"post_type":["post"],"select_post_by":"post_selected"}},{"name":"source_portfolio_post_ids","label":"Select posts","type":"select2","multiple":true,"options":{"1601":"Project Single","2013":"Serenity Grove","2015":"Nature\u2019s Palette","2017":"Blossom Haven","2019":"Harmony Gardens","2021":"Tranquil Trails","2024":"Verdant Visions"},"condition":{"post_type":["portfolio"],"select_post_by":"post_selected"}},{"name":"source_service_post_ids","label":"Select posts","type":"select2","multiple":true,"options":{"2429":"Garden Design","2437":"Garden Maintenance","2439":"Decking and Patio","2441":"Plant Selection","2443":"Garden Irrigation","2445":"Outdoor Lighting"},"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":"tab_grid","label":"Grid","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))."},{"name":"img_size_popup","label":"Image Size Popup","type":"text","description":"Enter image size (Example: \"thumbnail\", \"medium\", \"large\", \"full\" or other sizes defined by theme). Alternatively enter size in pixels (Example: 200x100 (Width x Height).","conditions":{"relation":"or","terms":[{"terms":[{"name":"post_type","operator":"==","value":"portfolio"},{"name":"layout_portfolio","operator":"in","value":["portfolio-1"]}]}]}},{"name":"pxl_animate","label":"BR 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":"skewIn","wow RotatingY":"RotatingY","wow PXLfadeInUp":"PXLfadeInUp","wow textAnimate":"textAnimate"},"default":""},{"name":"filter","label":"Filter on Masonry","type":"select","default":"false","options":{"true":"Enable","false":"Disable"},"condition":{"select_post_by":"term_selected"}},{"name":"filter_default_title","label":"Filter Default Title","type":"text","default":"All","condition":{"filter":"true","select_post_by":"term_selected"}},{"name":"pagination_type","label":"Pagination Type","type":"select","default":"false","options":{"pagination":"Pagination","loadmore":"Loadmore","false":"Disable"}},{"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":"3","options":{"1":"1","2":"2","3":"3","4":"4","6":"6"}},{"name":"col_lg","label":"Columns LG Devices","type":"select","default":"4","options":{"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6"}},{"name":"col_xl","label":"Columns XL Devices","type":"select","default":"4","options":{"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6"}},{"name":"item_spacer","label":"Grid Item Spacer","type":"dimensions","size_units":["px"],"selectors":{"{{WRAPPER}} .pxl-grid .pxl-grid-item":"padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};","{{WRAPPER}} .pxl-grid .pxl-grid-inner":"margin: 0 -{{RIGHT}}{{UNIT}} 0 -{{LEFT}}{{UNIT}};"},"control_type":"responsive"},{"name":"grid_masonry","label":"Grid Masonry","type":"repeater","controls":[{"name":"col_xs_m","label":"Columns XS Devices","type":"select","default":"1","options":{"1":"1","2":"2","3":"3","4":"4","6":"6"}},{"name":"col_sm_m","label":"Columns SM Devices","type":"select","default":"2","options":{"1":"1","2":"2","3":"3","4":"4","6":"6"}},{"name":"col_md_m","label":"Columns MD Devices","type":"select","default":"3","options":{"1":"1","2":"2","3":"3","4":"4","6":"6"}},{"name":"col_lg_m","label":"Columns LG Devices","type":"select","default":"4","options":{"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","col-40":"Column 40%"}},{"name":"col_xl_m","label":"Columns XL Devices","type":"select","default":"4","options":{"1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","col-40":"Column 40%"}},{"name":"img_size_m","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))."}]}]},{"name":"tab_display","label":"Display & Style","tab":"settings","controls":[{"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"]}]}]}},{"name":"img_border_radius","label":"Border Radius Img","type":"dimensions","size_units":["px"],"selectors":{"{{WRAPPER}} .pxl-blog-grid .pxl-item--inner .pxl-item-thumbnail img":"border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};"},"conditions":{"relation":"or","terms":[{"terms":[{"name":"post_type","operator":"==","value":"post"},{"name":"layout_post","operator":"in","value":["post-1"]}]}]}},{"name":"item_border_radius","label":"Border Radius Item","type":"dimensions","size_units":["px"],"selectors":{"{{WRAPPER}} .pxl-blog-grid.pxl-blog-style1 .pxl-item--inner":"border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};"},"conditions":{"relation":"or","terms":[{"terms":[{"name":"post_type","operator":"==","value":"post"},{"name":"layout_post","operator":"in","value":["post-1"]}]}]}},{"name":"title_typography","label":"Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-blog-grid.pxl-blog-style1 .pxl-item--inner .pxl-item--holder .pxl-item--title a"},{"name":"title_color","label":"Title Color","type":"color","selectors":{"{{WRAPPER}} .pxl-blog-grid.pxl-blog-style1 .pxl-item--inner .pxl-item--holder .pxl-item--title a":"color: {{VALUE}};"}},{"name":"excerpt_typography","label":"Excerpt Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-blog-grid.pxl-blog-style1 .pxl-item--inner .pxl-item--holder .pxl-item--content"},{"name":"excerpt_color","label":"Excerpt Color","type":"color","selectors":{"{{WRAPPER}} .pxl-blog-grid.pxl-blog-style1 .pxl-item--inner .pxl-item--holder .pxl-item--content":"color: {{VALUE}};"}},{"name":"comment_typography","label":"Comment Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-blog-grid.pxl-blog-style1 .pxl-item--inner .pxl-item--holder .pxl-total-comment"},{"name":"comment_color","label":"Comment Color","type":"color","selectors":{"{{WRAPPER}} .pxl-blog-grid.pxl-blog-style1 .pxl-item--inner .pxl-item--holder .pxl-total-comment":"color: {{VALUE}};"}},{"name":"date_typography","label":"Date Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-blog-grid.pxl-blog-style1 .pxl-item--inner .pxl-item-thumbnail .pxl-date"},{"name":"show_category","label":"Show Category","type":"switcher","default":"true","conditions":{"relation":"or","terms":[{"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":"portfolio"},{"name":"layout_portfolio","operator":"in","value":["portfolio-1"]}]},{"terms":[{"name":"post_type","operator":"==","value":"service"},{"name":"layout_service","operator":"in","value":["service-1","service-2","service-3"]}]}]}},{"name":"button_text","label":"Button Text","type":"text","conditions":{"relation":"or","terms":[{"terms":[{"name":"post_type","operator":"==","value":"service"},{"name":"layout_service","operator":"in","value":["service-1","service-2","service-3"]}]}]}},{"name":"show_excerpt","label":"Show Excerpt","type":"switcher","default":"true","conditions":{"relation":"or","terms":[{"terms":[{"name":"post_type","operator":"==","value":"service"},{"name":"layout_service","operator":"in","value":["service-1","service-2","service-3"]}]},{"terms":[{"name":"post_type","operator":"==","value":"portfolio"},{"name":"layout_portfolio","operator":"in","value":["portfolio-1","portfolio-3"]}]},{"terms":[{"name":"post_type","operator":"==","value":"post"},{"name":"layout_post","operator":"in","value":["post-1"]}]}]}},{"name":"num_words","label":"Number of Words","type":"number","default":25,"separator":"after","conditions":{"relation":"or","terms":[{"terms":[{"name":"post_type","operator":"==","value":"service"},{"name":"layout_service","operator":"in","value":["service-1","service-2","service-3"]}]},{"terms":[{"name":"post_type","operator":"==","value":"portfolio"},{"name":"layout_portfolio","operator":"in","value":["portfolio-1","portfolio-3"]}]},{"terms":[{"name":"post_type","operator":"==","value":"post"},{"name":"layout_post","operator":"in","value":["post-1"]}]}]},"condition":{"show_excerpt":"true"}}]},{"name":"tab2_display","label":"Style Portfolio","tab":"settings","controls":[{"name":"item_title1_pr","label":"Title 1","type":"text","placeholder":"Name","label_block":true},{"name":"item_title2_pr","label":"Title 2","type":"text","placeholder":"Location","label_block":true},{"name":"title1_typography","label":"Title Portfolio","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-item--title"},{"name":"title1_color","label":"Title Color","type":"color","selectors":{"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-item--title":"color: {{VALUE}};"}},{"name":"sub_typography","label":"Sub Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-category a, {{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-post--category a"},{"name":"sub_color","label":"Sub Color","type":"color","selectors":{"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-category a, {{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-post--category a":"color: {{VALUE}};"}},{"name":"ex_padding","label":"Padding Excerpt","type":"dimensions","size_units":["px"],"selectors":{"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-item--holder .pxl-mg":"padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};"},"control_type":"responsive"},{"name":"ex_typography","label":"Excerpt Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-item--content"},{"name":"ex_color","label":"Excerpt Color","type":"color","selectors":{"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-item--content":"color: {{VALUE}};"}},{"name":"name_typography","label":"Name Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-item--holder .pxl-name"},{"name":"name_color","label":"Name Color","type":"color","selectors":{"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-item--holder .pxl-name":"color: {{VALUE}};"}}]},{"name":"tab3_display","label":"Style Service","tab":"settings","controls":[{"name":"title_margin","label":"Title Margin","type":"dimensions","size_units":["px"],"selectors":{"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-item--title":"margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};"}},{"name":"ex_margin","label":"Ex Margin ","type":"dimensions","size_units":["px"],"selectors":{"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-ex":"margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};"}},{"name":"button_padding","label":"Button Padding","type":"dimensions","size_units":["px"],"selectors":{"{{WRAPPER}} .pxl-service-grid .pxl-item--inner .pxl-item--holder .pxl-item--content .pxl-item--readmore a":"padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};"}},{"name":"title2_typography","label":"Title Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-item--title"},{"name":"title2_color","label":"Title Color","type":"color","selectors":{"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-item--title":"color: {{VALUE}};"}},{"name":"ex2_typography","label":"Excerpt Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-item--content .pxl-ex"},{"name":"ex2_color","label":"Excerpt Color","type":"color","selectors":{"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-item--content .pxl-ex":"color: {{VALUE}};"}},{"name":"btn_typography","label":"Button Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-item--content .pxl-item--readmore"},{"name":"btn_color","label":"Button Color","type":"color","selectors":{"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-item--content .pxl-item--readmore a":"color: {{VALUE}} !important;"}},{"name":"bg_btn","label":"Button Background","type":"color","selectors":{"{{WRAPPER}} .pxl-grid .pxl-item--inner .pxl-item--content .pxl-item--readmore":"color: {{VALUE}};"}}]}]}'; protected $styles = array( ); protected $scripts = array( 'imagesloaded','isotope','pxl-post-grid','pxl-tweenmax','gardyn-jarallax' ); }
[-] class-icon-cart.php
[edit]
[-] class-pxl-image-counter.php
[edit]
[-] class-pxl-grid-service.php
[edit]
[-] class-pxl-list.php
[edit]
[+]
..
[-] class-pxl-breadcrumb.php
[edit]
[-] class-pxl-image.php
[edit]
[-] class-pxl-showcase.php
[edit]
[-] class-pxl-text-editor.php
[edit]
[-] class-icon-wishlist.php
[edit]
[-] class-pxl-item-icon.php
[edit]
[-] class-pxl-image-grid.php
[edit]
[-] class-pxl-icon-hidden-panel.php
[edit]
[-] class-pxl-counter.php
[edit]
[-] class-pxl-list-custom.php
[edit]
[-] class-pxl-text-carousel.php
[edit]
[-] class-pxl-testimonial-carousel.php
[edit]
[-] class-pxl-slider.php
[edit]
[-] class-pxl-list-box.php
[edit]
[-] class-pxl-logo.php
[edit]
[-] class-pxl-box-grid.php
[edit]
[-] class-pxl-menu.php
[edit]
[-] class-pxl-list-price.php
[edit]
[-] class-pxl-heading.php
[edit]
[-] class-pxl-button.php
[edit]
[-] class-pxl-post-grid.php
[edit]
[-] class-pxl-box-button.php
[edit]
[-] class-pxl-button-video.php
[edit]
[-] class-pxl-team-carousel.php
[edit]
[-] class-pxl-icon-search.php
[edit]
[-] class-pxl-product-carousel.php
[edit]
[-] class-pxl-team-grid.php
[edit]
[-] class-pxl-showcase-landing.php
[edit]
[-] class-pxl-pricing.php
[edit]
[-] class-pxl-contact-form.php
[edit]
[-] class-pxl-icon.php
[edit]