Changeset 2699613
- Timestamp:
- 03/25/2022 02:07:02 PM (4 years ago)
- Location:
- pixi-image-gallery/trunk
- Files:
-
- 4 added
- 6 edited
-
includes/admin/class-pixi-helper.php (added)
-
includes/assets/css/common.css (modified) (1 diff)
-
includes/assets/js/pixi-custom-filter-gallery.js (added)
-
includes/assets/js/pixi-filter-gallery.js (modified) (2 diffs)
-
includes/assets/js/popup-script.js (added)
-
includes/plugin.php (modified) (2 diffs)
-
includes/widgets/pixi-gallery-custom-filter.php (added)
-
includes/widgets/pixi-gallery-filter.php (modified) (1 diff)
-
pixi-image-gallery-lite.php (modified) (3 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pixi-image-gallery/trunk/includes/assets/css/common.css
r2697482 r2699613 105 105 transition: all .4s ease 0s; 106 106 } 107 .pixi-inner-item .inner-content{ 108 padding-top: 20px; 109 } 110 .pixi-inner-item .inner-content h3{ 111 font-size: 22px; 112 margin-bottom: 10px; 113 color: #000; 114 text-transform: capitalize; 115 } 116 117 .pixi-inner-item .inner-content p{ 118 font-size: 16px; 119 color: #666; 120 text-transform: capitalize; 121 } -
pixi-image-gallery/trunk/includes/assets/js/pixi-filter-gallery.js
r2697459 r2699613 4 4 console.log( $scope ); 5 5 6 //filter js7 6 var pixifilter = $('.pixi-grid'); 8 7 if(pixifilter.length){ … … 10 9 $('.pixi-filter').on('click', 'button', function() { 11 10 var filterValue = $(this).attr('data-filter'); 11 var $grid = $(this).closest('.pixi-portfolio').find('.pixi-grid'); 12 12 $grid.isotope({ 13 filter: filterValue 13 filter: filterValue, 14 itemSelector: '.grid-item', 15 percentPosition: true, 16 masonry: { 17 columnWidth: '.grid-item', 18 } 14 19 }); 15 20 }); 16 var $grid = $('.pixi-grid').isotope({17 itemSelector: '.grid-item',18 percentPosition: true,19 masonry: {20 columnWidth: '.grid-item',21 }22 });23 21 }); 24 }25 26 // Isotop Filter27 if ($('.pixi-filter button').length) {28 var projectfiler = $('.pixi-filter button');29 if(projectfiler.length){30 $('.pixi-filter button').on('click', function(event) {31 $(this).siblings('.active').removeClass('active');32 $(this).addClass('active');33 event.preventDefault();34 });35 }36 22 } 37 23 -
pixi-image-gallery/trunk/includes/plugin.php
r2697482 r2699613 226 226 require_once( __DIR__ . '/widgets/pixi-gallery.php' ); 227 227 require_once( __DIR__ . '/widgets/pixi-gallery-filter.php' ); 228 require_once( __DIR__ . '/widgets/pixi-gallery-custom-filter.php' ); 228 229 229 230 $widgets_manager->register( new \Pixi_Image_Gallery\pixi_image_gallery_lite() ); 230 231 $widgets_manager->register( new \Pixi_Image_Gallery\pixi_image_gallery_filter() ); 232 $widgets_manager->register( new \Pixi_Image_Gallery\pixi_image_gallery_custom_filter() ); 231 233 232 234 } … … 255 257 wp_enqueue_script( 'image-loaded', plugins_url( 'assets/js/imagesloaded.pkgd.min.js', __FILE__ ), [ 'isotope','jquery' ] ); 256 258 wp_enqueue_script( 'pixi-filter', plugins_url( 'assets/js/pixi-filter-gallery.js', __FILE__ ) ); 259 wp_enqueue_script( 'pixi-custom-post-filter', plugins_url( 'assets/js/pixi-custom-filter-gallery.js', __FILE__ ) ); 257 260 wp_enqueue_script( 'main-scripts', plugins_url( 'assets/js/main.js', __FILE__ ) ); 261 wp_enqueue_script( 'popup-script', plugins_url( 'assets/js/popup-script.js', __FILE__ ) ); 258 262 } 259 263 -
pixi-image-gallery/trunk/includes/widgets/pixi-gallery-filter.php
r2697482 r2699613 688 688 } 689 689 690 $dynamic_id = rand(2345,565079); 690 691 ?> 691 692 692 693 <!-- Start Portfolio here --> 693 <div class="pixi-portfolio" >694 <div class="pixi-portfolio" id="pixi-<?php echo esc_attr($dynamic_id);?>"> 694 695 <div class="pixi-filter"> 695 696 <?php -
pixi-image-gallery/trunk/pixi-image-gallery-lite.php
r2697459 r2699613 4 4 * Description: Creative Elementor Image Gallery, Filterable Gallery,Creative layout 5 5 * Plugin URI: # 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Author: Esrat Sultana 8 8 * Author URI: https://esrat.net/ … … 75 75 76 76 /** 77 * The core plugin Helper Class 78 * admin-specific hooks, and public-facing site hooks. 79 */ 80 require plugin_dir_path( __FILE__ ) . 'includes/admin/class-pixi-helper.php'; 81 82 83 /** 77 84 * Begins execution of the plugin. 78 85 * … … 90 97 } 91 98 run_pixi_image_gallery(); 99 100 101 -
pixi-image-gallery/trunk/readme.txt
r2697473 r2699613 5 5 Requires at least: 4.7 6 6 Tested up to: 5.9.2 7 Stable tag: 1.0. 07 Stable tag: 1.0.1 8 8 Requires PHP: 7.2 9 9 License: GPLv2 or later … … 13 13 == Description == 14 14 15 Enhance your Elementor page building experience with Filterable Gallery and Standard Image Gallery layout. Add powers to your page builder 16 using our easy-to-use elements those were designed to make your next WordPress page design easier and 15 Enhance your Elementor page building experience with Filterable Gallery and Standard Image Gallery layout. Add powers to your page builder using our easy-to-use elements those were designed to make your next WordPress page design easier and 17 16 prettier than ever before. 18 17 … … 66 65 == Changelog == 67 66 67 = 1.0.1 = 68 * Added Custom Post Type Filterable Gallery Items 69 * Added Conent Support 70 * Fixed filtering issue 71 68 72 = 1.0 = 69 73 * A change since the previous version.
Note: See TracChangeset
for help on using the changeset viewer.