Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
home
/
getwphos
/
www
/
metrothemes.me
/
wp-content
/
uploads
/
elementor-widget
/
File Content:
class-pxl-post-grid.php
<?php class PxlPostGrid_Widget extends Pxltheme_Core_Widget_Base{ protected $name = 'pxl_post_grid'; protected $title = 'PXL Post Grid'; protected $icon = 'eicon-posts-grid'; 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":"Post","portfolio":"Portfolio"},"default":"post"},{"name":"layout_post","label":"Select Templates of Post","type":"layoutcontrol","default":"post-1","options":{"post-1":{"label":"Layout 1","image":"https:\/\/metrothemes.me\/wp-content\/themes\/adsett\/elements\/assets\/imgs\/post_grid-layout1.jpg"},"post-2":{"label":"Layout 2","image":"https:\/\/metrothemes.me\/wp-content\/themes\/adsett\/elements\/assets\/imgs\/post_grid-layout2.jpg"},"post-3":{"label":"Layout 3","image":"https:\/\/metrothemes.me\/wp-content\/themes\/adsett\/elements\/assets\/imgs\/post_grid-layout3.jpg"}},"prefix_class":"pxl-post-layout-","condition":{"post_type":["post"]}},{"name":"layout_portfolio","label":"Select Templates of Portfolio","type":"layoutcontrol","default":"post-1","options":{"portfolio-1":{"label":"Layout 1","image":"https:\/\/metrothemes.me\/wp-content\/themes\/adsett\/elements\/assets\/imgs\/post_grid-portfolio-1.jpg"},"portfolio-2":{"label":"Layout 2","image":"https:\/\/metrothemes.me\/wp-content\/themes\/adsett\/elements\/assets\/imgs\/post_grid-portfolio-2.jpg"}},"prefix_class":"pxl-post-layout-","condition":{"post_type":["portfolio"]}}]},{"name":"source_section","label":"Source","tab":"content","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","description":"Get all when no term selected","type":"select2","multiple":true,"options":[],"condition":{"post_type":["post"],"select_post_by":"term_selected"}},{"name":"source_portfolio","label":"Select Term","description":"Get all when no term selected","type":"select2","multiple":true,"options":{"abstract|portfolio-category":"Abstract","architecture-design|portfolio-category":"Architecture Design","clean-architecture|portfolio-category":"Clean Architecture","food|portfolio-category":"Food","mockup|portfolio-category":"Mockup","office|portfolio-category":"Office","technology|portfolio-category":"Technology"},"condition":{"post_type":["portfolio"],"select_post_by":"term_selected"}},{"name":"source_post_post_ids","label":"Select posts","type":"select2","multiple":true,"options":[],"condition":{"post_type":["post"],"select_post_by":"post_selected"}},{"name":"source_portfolio_post_ids","label":"Select posts","type":"select2","multiple":true,"options":{"1310":"Smart Home","1307":"Home Decors","1303":"Crown House","1313":"Student Residence Areosa","1316":"Casa El Maqui","1319":"Industrial Apartment","1322":"Mini Apartment","1325":"House Decor","1328":"Frek Int\u00e9rieurs","1331":"Orin Archit\u00e9cture","1334":"Rob Villa","1337":"Century Circuit"},"condition":{"post_type":["portfolio"],"select_post_by":"post_selected"}},{"name":"source_post_post_ids_unselected","label":"Unselected posts","type":"select2","multiple":true,"options":[],"condition":{"post_type":["post"],"select_post_by":"term_selected"}},{"name":"source_portfolio_post_ids_unselected","label":"Unselected posts","type":"select2","multiple":true,"options":{"1310":"Smart Home","1307":"Home Decors","1303":"Crown House","1313":"Student Residence Areosa","1316":"Casa El Maqui","1319":"Industrial Apartment","1322":"Mini Apartment","1325":"House Decor","1328":"Frek Int\u00e9rieurs","1331":"Orin Archit\u00e9cture","1334":"Rob Villa","1337":"Century Circuit"},"condition":{"post_type":["portfolio"],"select_post_by":"term_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":"8","condition":{"select_post_by":"term_selected"}}]},{"name":"general_section","label":"General Settings","tab":"content","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":"layout_mode","label":"Layout Mode","type":"select","options":{"fitRows":"Basic Grid","masonry":"Masonry Grid"},"default":"fitRows"},{"name":"filter","label":"Term Filter","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":{"select_post_by":"term_selected","filter":"true"}},{"name":"filter_alignment","label":"Filter Alignment","type":"choose","control_type":"responsive","options":{"start":{"title":"Start","icon":"eicon-text-align-left"},"center":{"title":"Center","icon":"eicon-text-align-center"},"end":{"title":"End","icon":"eicon-text-align-right"}},"selectors":{"{{WRAPPER}} .grid-filter-wrap":"justify-content: {{VALUE}};"},"default":"center","condition":{"select_post_by":"term_selected","filter":"true"}},{"name":"pagination_type","label":"Pagination Type","type":"select","default":"false","options":{"pagination":"Pagination","loadmore":"Loadmore","false":"Disable"}},{"name":"loadmore_text","label":"Load More text","type":"text","default":"Load More","condition":{"pagination_type":"loadmore"}},{"name":"loadmore_icon","label":"Loadmore Icon","type":"icons","default":[],"condition":{"pagination_type":"loadmore"}},{"name":"icon_align","label":"Icon Position","type":"select","default":"right","options":{"right":"After","left":"Before"},"condition":{"pagination_type":"loadmore"}},{"name":"pagination_alignment","label":"Pagination Alignment","type":"choose","control_type":"responsive","options":{"start":{"title":"Start","icon":"eicon-text-align-left"},"center":{"title":"Center","icon":"eicon-text-align-center"},"end":{"title":"End","icon":"eicon-text-align-right"}},"selectors":{"{{WRAPPER}} .pxl-grid-pagination, {{WRAPPER}} .pxl-load-more":"justify-content: {{VALUE}};"},"default":"center","condition":{"pagination_type":["pagination","loadmore"]}},{"name":"item_padding","label":"Item Padding","type":"dimensions","size_units":["px"],"default":{"top":"15","right":"15","bottom":"15","left":"15"},"selectors":{"{{WRAPPER}} .pxl-grid-inner":"margin-top: -{{TOP}}{{UNIT}}; margin-right: -{{RIGHT}}{{UNIT}}; margin-bottom: -{{BOTTOM}}{{UNIT}}; margin-left: -{{LEFT}}{{UNIT}};","{{WRAPPER}} .pxl-grid-inner .grid-item":"padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};"},"control_type":"responsive"},{"name":"gap_extra","label":"Item Gap Bottom","description":"Add extra space at bottom of each items","type":"number","default":0,"control_type":"responsive","selectors":{"{{WRAPPER}} .pxl-grid-inner .grid-item":"margin-bottom: {{VALUE}}px;"}},{"name":"item_animation","label":"Item Motion Effect","type":"animation","condition":[]},{"name":"item_animation_duration","label":"Item Animation Duration","type":"select","default":"normal","options":{"slow":"Slow","normal":"Normal","fast":"Fast"},"condition":{"item_animation!":""}},{"name":"item_animation_delay","label":"Item Animation Delay","type":"number","min":0,"step":100,"condition":{"item_animation!":""}}]},{"name":"grid_section","label":"Grid Settings","tab":"content","controls":[{"name":"col_xs","label":"Extra Small <= 575","type":"select","options":{"12":"12","6":"6","5":"5","4":"4","3":"3","2":"2","1":"1","1.5":"2\/3","":"Default Layout"}},{"name":"col_sm","label":"Small <= 767","type":"select","options":{"12":"12","6":"6","5":"5","4":"4","3":"3","2":"2","1":"1","1.5":"2\/3","":"Default Layout"}},{"name":"col_md","label":"Medium <= 991","type":"select","options":{"12":"12","6":"6","5":"5","4":"4","3":"3","2":"2","1":"1","1.5":"2\/3","":"Default Layout"}},{"name":"col_lg","label":"Large <= 1199","type":"select","options":{"12":"12","6":"6","5":"5","4":"4","3":"3","2":"2","1":"1","1.5":"2\/3","":"Default Layout"}},{"name":"col_xl","label":"XL Devices >= 1200","type":"select","options":{"12":"12","6":"6","5":"5","4":"4","3":"3","2":"2","1":"1","1.5":"2\/3","":"Default Layout"}},{"name":"col_xxl","label":"XXL Devices >= 1400","type":"select","options":{"12":"12","6":"6","5":"5","4":"4","3":"3","2":"2","1":"1","1.5":"2\/3","":"Default Layout"}},{"name":"grid_custom_columns","label":"Custom Items Columns","type":"repeater","condition":{"layout_mode":["masonry"]},"controls":[{"name":"col_xs_c","label":"Extra Small <= 575","type":"select","default":"1","options":{"12":"12","6":"6","5":"5","4":"4","3":"3","2":"2","1":"1","1.5":"2\/3"}},{"name":"col_sm_c","label":"Small <= 767","type":"select","default":"2","options":{"12":"12","6":"6","5":"5","4":"4","3":"3","2":"2","1":"1","1.5":"2\/3"}},{"name":"col_md_c","label":"Medium <= 991","type":"select","default":"2","options":{"12":"12","6":"6","5":"5","4":"4","3":"3","2":"2","1":"1","1.5":"2\/3"}},{"name":"col_lg_c","label":"Large <= 1199","type":"select","default":"3","options":{"12":"12","6":"6","5":"5","4":"4","3":"3","2":"2","1":"1","1.5":"2\/3"}},{"name":"col_xl_c","label":"XL Devices >= 1200","type":"select","default":"4","options":{"12":"12","6":"6","5":"5","4":"4","3":"3","2":"2","1":"1","1.5":"2\/3"}},{"name":"col_xxl_c","label":"XXL Devices >= 1400","type":"select","default":"5","options":{"12":"12","6":"6","5":"5","4":"4","3":"3","2":"2","1":"1","1.5":"2\/3"}},{"name":"img_size_c","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":"item_c_animation","label":"Item Motion Effect","type":"animation","condition":[]},{"name":"item_c_animation_duration","label":"Item Animation Duration","type":"select","default":"normal","options":{"slow":"Slow","normal":"Normal","fast":"Fast"},"condition":{"item_c_animation!":""}},{"name":"item_c_animation_delay","label":"Item Animation Delay","type":"number","min":0,"step":100,"condition":{"item_c_animation!":""}}]}]},{"name":"display_section","label":"Display Options","tab":"content","controls":[{"name":"show_author","label":"Show Author","type":"switcher","default":"false","condition":{"post_type":"post"}},{"name":"show_date","label":"Show Date","type":"switcher","default":"true","condition":{"post_type":"post"}},{"name":"show_category","label":"Show Category","type":"switcher","default":"true","conditions":{"relation":"or","terms":[{"terms":[{"name":"post_type","operator":"==","value":"post"}]},{"terms":[{"name":"post_type","operator":"==","value":"portfolio"},{"name":"layout_portfolio","operator":"in","value":["portfolio-1","portfolio-2"]}]}]}},{"name":"show_excerpt","label":"Show Excerpt","type":"switcher","default":"true","condition":{"post_type":"post"}},{"name":"num_words","label":"Number of Words","type":"number","default":25,"condition":{"post_type":"post","show_excerpt":"true"}},{"name":"show_button","label":"Show Button Readmore","type":"switcher","default":"true","condition":{"post_type":"post"}},{"name":"button_text","label":"Button Text","type":"text","condition":{"post_type":"post","show_button":"true","layout_post":["post-1","post-3"]}}]},{"name":"style_section","label":"Style Options","tab":"content","controls":[{"name":"content_typography","label":"Content Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-post-grid .item-content"},{"name":"meta_color","label":"Meta Color","type":"color","selectors":{"{{WRAPPER}} .pxl-post-grid .item-post-meta":"color: {{VALUE}};","{{WRAPPER}} .pxl-post-grid .item-post-meta .meta-inner > * + *:before":"background-color: {{VALUE}};"},"condition":{"post_type":"post","layout_post":["post-1","post-2"]}},{"name":"title_color","label":"Title Color","type":"color","selectors":{"{{WRAPPER}} .pxl-post-grid .item-title":"color: {{VALUE}};"},"condition":{"post_type":"post","layout_post":["post-1","post-2"]}},{"name":"title_typography","label":"Title Typography","type":"typography","control_type":"group","selector":"{{WRAPPER}} .pxl-post-grid .item-title, {{WRAPPER}} .pxl-post-grid .item-post-meta .number"},{"name":"excerpt_color","label":"Excerpt Color","type":"color","selectors":{"{{WRAPPER}} .pxl-post-grid .item-excerpt":"color: {{VALUE}};"},"condition":{"post_type":"post","layout_post":["post-2"]}},{"name":"img_bg_hover","label":"Background hover","type":"color","selectors":{"{{WRAPPER}} .pxl-post-grid .item-featured .pxl-overlay":"background-color: {{VALUE}};"},"condition":{"post_type":"post","layout_post":["post-1"]}},{"name":"img_bg_overlay","label":"Background Overlay","type":"color","selectors":{"{{WRAPPER}} .pxl-post-grid .item-featured:before":"background-color: {{VALUE}};"},"condition":{"post_type":"post","layout_post":["post-2"]}},{"name":"content_bg_hover","label":"Background hover","type":"color","selectors":{"{{WRAPPER}} .pxl-post-grid .item-content-hover":"background-color: {{VALUE}};"},"condition":{"post_type":"post","layout_post":["post-1"]}},{"name":"meta_hover_color","label":"Meta Hover Color","type":"color","selectors":{"{{WRAPPER}} .pxl-post-grid .item-content-hover .item-post-meta":"color: {{VALUE}};","{{WRAPPER}} .pxl-post-grid .item-content-hover .item-post-meta .meta-inner > * + *:before":"background-color: {{VALUE}};"},"condition":{"post_type":"post","layout_post":["post-1"]}},{"name":"excerpt_hover_color","label":"Excerpt Hover Color","type":"color","selectors":{"{{WRAPPER}} .pxl-post-grid .item-content-hover .item-excerpt":"color: {{VALUE}};"},"condition":{"post_type":"post","layout_post":["post-1"]}},{"name":"css_filters","label":"CSS Filters","type":"css-filter","control_type":"group","selector":"{{WRAPPER}} .pxl-post-grid .item-featured img","condition":{"post_type":"post","layout_post":["post-1"]}},{"name":"truncate_title","label":"Truncate Title","type":"switcher","return_value":"yes","default":"yes","condition":{"post_type":"post","layout_post":["post-3"]}}]}]}'; protected $styles = array( ); protected $scripts = array( 'imagesloaded','isotope','adsett-post-grid' ); }
Submit
FILE
FOLDER
Name
Size
Permission
Action
class-pxl-about.php
2618 bytes
0644
class-pxl-accordion.php
2557 bytes
0644
class-pxl-anchor.php
2956 bytes
0644
class-pxl-banner.php
2377 bytes
0644
class-pxl-block-quote.php
1460 bytes
0644
class-pxl-breadcrumb.php
1695 bytes
0644
class-pxl-button.php
6964 bytes
0644
class-pxl-carrer.php
1537 bytes
0644
class-pxl-clients.php
3604 bytes
0644
class-pxl-cliptext.php
2167 bytes
0644
class-pxl-contact-form.php
941 bytes
0644
class-pxl-contact-info.php
3588 bytes
0644
class-pxl-countdown.php
1751 bytes
0644
class-pxl-counter.php
4826 bytes
0644
class-pxl-divider.php
2692 bytes
0644
class-pxl-download.php
841 bytes
0644
class-pxl-fancy-box.php
7278 bytes
0644
class-pxl-galleries.php
6142 bytes
0644
class-pxl-gallery-carousel.php
4262 bytes
0644
class-pxl-heading.php
6036 bytes
0644
class-pxl-horizontal-scroll.php
2047 bytes
0644
class-pxl-image-before-after.php
1351 bytes
0644
class-pxl-image-text.php
3914 bytes
0644
class-pxl-image.php
6762 bytes
0644
class-pxl-layer.php
3650 bytes
0644
class-pxl-link.php
3821 bytes
0644
class-pxl-links.php
2468 bytes
0644
class-pxl-list-style.php
2635 bytes
0644
class-pxl-logo.php
1075 bytes
0644
class-pxl-mailchimp.php
1352 bytes
0644
class-pxl-menu.php
5975 bytes
0644
class-pxl-page-title.php
1177 bytes
0644
class-pxl-partner.php
1522 bytes
0644
class-pxl-portfolio-info.php
1583 bytes
0644
class-pxl-portfolio-spilt.php
4518 bytes
0644
class-pxl-post-carousel.php
14935 bytes
0644
class-pxl-post-grid.php
14723 bytes
0644
class-pxl-post-list.php
6624 bytes
0644
class-pxl-pricing-single.php
4677 bytes
0644
class-pxl-progressbar.php
4716 bytes
0644
class-pxl-quickcontact.php
4166 bytes
0644
class-pxl-search.php
1264 bytes
0644
class-pxl-service-carousel.php
6254 bytes
0644
class-pxl-service-grid.php
8572 bytes
0644
class-pxl-showcase.php
1097 bytes
0644
class-pxl-slider-item.php
15661 bytes
0644
class-pxl-slider.php
18082 bytes
0644
class-pxl-socials.php
3747 bytes
0644
class-pxl-team-carousel.php
4642 bytes
0644
class-pxl-team.php
3938 bytes
0644
class-pxl-testimonial-carousel.php
5614 bytes
0644
class-pxl-testimonial.php
2061 bytes
0644
class-pxl-text-editor.php
3568 bytes
0644
class-pxl-text-image.php
3164 bytes
0644
class-pxl-title-effect.php
3752 bytes
0644
class-pxl-video-gallery.php
6372 bytes
0644
class-pxl-video.php
3794 bytes
0644
N4ST4R_ID | Naxtarrr