{"id":1174,"date":"2024-12-16T09:47:07","date_gmt":"2024-12-16T09:47:07","guid":{"rendered":"https:\/\/awplife.com\/demo\/photo-gallery-premium\/?page_id=1174"},"modified":"2024-12-16T09:47:07","modified_gmt":"2024-12-16T09:47:07","slug":"load-more","status":"publish","type":"page","link":"https:\/\/awplife.com\/demo\/photo-gallery-premium\/load-more\/","title":{"rendered":"Load More"},"content":{"rendered":"\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\t\t<!-- load more code -->\n\t\t<div id=\"animated-thumbnials-1171\" class=\"all-images-1171\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-content\/uploads\/sites\/26\/2024\/12\/emmanuelle-magnenat-rZWxFxEn_OI-unsplash-scaled.jpg\" class=\"single-image-1171 col-lg-4 hvr-push col-md-4 col-sm-6 col-xs-6\" data-sub-html=\"<h4>pokemon ball<\/h4><p><\/p>\" data-rel=\"lightcase-1171:myCollection:slideshow\">\n\t\t\t\t\t\t\t<img decoding=\"async\" class=\"thumbnail false\" src=\"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-content\/uploads\/sites\/26\/2024\/12\/emmanuelle-magnenat-rZWxFxEn_OI-unsplash-scaled.jpg\"  alt=\"pokemon ball\"\/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"gallery-caption\">\n\t\t\t\t\t\t\t\t\t<span class=\"photo_gallery_title\">pokemon ball<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-content\/uploads\/sites\/26\/2024\/12\/mae-mu-XTztXbv6gMs-unsplash.jpg\" class=\"single-image-1171 col-lg-4 hvr-push col-md-4 col-sm-6 col-xs-6\" data-sub-html=\"<h4>New York, New York<\/h4><p><\/p>\" data-rel=\"lightcase-1171:myCollection:slideshow\">\n\t\t\t\t\t\t\t<img decoding=\"async\" class=\"thumbnail false\" src=\"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-content\/uploads\/sites\/26\/2024\/12\/mae-mu-XTztXbv6gMs-unsplash.jpg\"  alt=\"New York, New York\"\/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"gallery-caption\">\n\t\t\t\t\t\t\t\t\t<span class=\"photo_gallery_title\">New York, New York<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-content\/uploads\/sites\/26\/2024\/12\/john-moeses-bauan-Oj-G9GYlLr0-unsplash.jpg\" class=\"single-image-1171 col-lg-4 hvr-push col-md-4 col-sm-6 col-xs-6\" data-sub-html=\"<h4>Experimenting with Miniature Art<\/h4><p><\/p>\" data-rel=\"lightcase-1171:myCollection:slideshow\">\n\t\t\t\t\t\t\t<img decoding=\"async\" class=\"thumbnail false\" src=\"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-content\/uploads\/sites\/26\/2024\/12\/john-moeses-bauan-Oj-G9GYlLr0-unsplash.jpg\"  alt=\"Experimenting with Miniature Art\"\/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"gallery-caption\">\n\t\t\t\t\t\t\t\t\t<span class=\"photo_gallery_title\">Experimenting with Miniature Art<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-content\/uploads\/sites\/26\/2024\/12\/shamblen-studios-zJphVSgUOoo-unsplash.jpg\" class=\"single-image-1171 col-lg-4 hvr-push col-md-4 col-sm-6 col-xs-6\" data-sub-html=\"<h4>Photos Featured on January 25, 2021,<\/h4><p><\/p>\" data-rel=\"lightcase-1171:myCollection:slideshow\">\n\t\t\t\t\t\t\t<img decoding=\"async\" class=\"thumbnail false\" src=\"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-content\/uploads\/sites\/26\/2024\/12\/shamblen-studios-zJphVSgUOoo-unsplash.jpg\"  alt=\"Photos Featured on January 25, 2021,\"\/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"gallery-caption\">\n\t\t\t\t\t\t\t\t\t<span class=\"photo_gallery_title\">Photos Featured on January 25, 2021,<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-content\/uploads\/sites\/26\/2024\/12\/daniel-van-den-berg-X2lwtAq_up0-unsplash.jpg\" class=\"single-image-1171 col-lg-4 hvr-push col-md-4 col-sm-6 col-xs-6\" data-sub-html=\"<h4>Summervibes in the gardens of France<\/h4><p><\/p>\" data-rel=\"lightcase-1171:myCollection:slideshow\">\n\t\t\t\t\t\t\t<img decoding=\"async\" class=\"thumbnail false\" src=\"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-content\/uploads\/sites\/26\/2024\/12\/daniel-van-den-berg-X2lwtAq_up0-unsplash.jpg\"  alt=\"Summervibes in the gardens of France\"\/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"gallery-caption\">\n\t\t\t\t\t\t\t\t\t<span class=\"photo_gallery_title\">Summervibes in the gardens of France<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-content\/uploads\/sites\/26\/2024\/12\/john-torcasio-hbEIBvMGJEE-unsplash-scaled.jpg\" class=\"single-image-1171 col-lg-4 hvr-push col-md-4 col-sm-6 col-xs-6\" data-sub-html=\"<h4>Gridiron Victoria: Western Crusaders Americain Football<\/h4><p><\/p>\" data-rel=\"lightcase-1171:myCollection:slideshow\">\n\t\t\t\t\t\t\t<img decoding=\"async\" class=\"thumbnail false\" src=\"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-content\/uploads\/sites\/26\/2024\/12\/john-torcasio-hbEIBvMGJEE-unsplash-scaled.jpg\"  alt=\"Gridiron Victoria: Western Crusaders Americain Football\"\/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"gallery-caption\">\n\t\t\t\t\t\t\t\t\t<span class=\"photo_gallery_title\">Gridiron Victoria: Western Crusaders Americain Football<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<\/div>\n\t\t<div class=\"row text-center lgp_load_more_button\">\n\t\t\t<img decoding=\"async\" class=\"lg_loader_1171\" src=\"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-content\/plugins\/photo-gallery-premium-new\/img\/loading.gif\" style=\"display:none; height:30px; width:30px; margin: 20px 0px 10px;\">\n\t\t\t<button class=\"btn lg_load_more_1171\" onclick=\"LgLoadMore_1171();\">Load More<\/button>\n\t\t\t<input type=\"hidden\" id=\"lg_limit_start_1171\" name=\"lg_limit_start_1171\" value=\"6\" class=\"btn\" \/>\n\t\t\t<input type=\"hidden\" id=\"lg_limit_end_1171\" name=\"lg_limit_end_1171\" value=\"12\" class=\"btn\" \/>\n\t\t\t<input type=\"hidden\" id=\"lg_total_images_1171\" name=\"lg_total_images_1171\" value=\"15\" class=\"btn\" \/>\n\t\t\t<p class=\"lg_no_more_1171\" style=\"display:none; margin: 20px 0px 10px;\">No more images<\/p>\n\t\t<\/div>\n\t\t\n<style>\n.lg-backdrop.in {\n\topacity: 0.85;\n}\n.fixed-size.lg-outer .lg-inner {\n\tbackground-color: #FFF;\n}\n.fixed-size.lg-outer .lg-sub-html {\n\tposition: absolute;\n\ttext-align: left;\n}\n.fixed-size.lg-outer .lg-toolbar {\n\tbackground-color: transparent;\n\theight: 0;\n}\n.fixed-size.lg-outer .lg-toolbar .lg-icon {\n\tcolor: #FFF;\n}\n.fixed-size.lg-outer .lg-img-wrap {\n\tpadding: 12px;\n}\n#lightcase-overlay{\n\tcursor: default !important;\n}\n<\/style>\n<script>\n\tfunction LgLoadMore_1171() {\n\t\tvar $grid = jQuery('.all-images-1171').isotope({\n\t\t\t\/\/ options...\n\t\t\titemSelector: '.single-image-1171',\n\t\t});\n\t\tjQuery(\".lg_load_more_1171\").hide();\n\t\tjQuery(\".lg_loader_1171\").show();\n\t\tvar lg_limit_start = parseInt(jQuery(\"#lg_limit_start_1171\").val());\n\t\tvar lg_limit_end = parseInt(jQuery(\"#lg_limit_end_1171\").val());\n\t\tvar lg_total_images = parseInt(jQuery(\"#lg_total_images_1171\").val());\n\t\t\n\t\tif(lg_total_images > lg_limit_start){\n\t\t\tjQuery.ajax({\n\t\t\t\tdataType : 'html',\n\t\t\t\ttype: 'POST',\n\t\t\t\turl : location.href,\n\t\t\t\tcache: false,\n\t\t\t\tdata : '&lg_security=' + '3f844927cd' + '&lg_limit_start=' + lg_limit_start + '&lg_limit_end=' + lg_limit_end ,\n\t\t\t\tcomplete : function() {},\n\t\t\t\tsuccess: function(response) {\n\t\t\t\t\tvar actual_response = jQuery(response).find('a.ld_result_1171');\n\t\t\t\t\tvar $items = jQuery(actual_response);\n\t\t\t\t\t$grid.append($items)\n\t\t\t\t\t.isotope('appended',$items);\n\t\t\t\t\t\/\/ layout Isotope after each image loads\n\t\t\t\t\t$grid.imagesLoaded().progress( function() {\n\t\t\t\t\t\t$grid.isotope('layout');\n\t\t\t\t\t});\n\t\t\t\t\tjQuery(\".lg_loader_1171\").hide();\n\t\t\t\t\tjQuery(\".lg_load_more_1171\").show();\n\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvar $lg = jQuery('div#animated-thumbnials-1171'); \n\t\t\t\t\t\t\t$lg.lightGallery();\n\t\t\t\t\t\t\t$lg.data('lightGallery').destroy(true);\n\t\t\t\t\t\t\t$lg.lightGallery({\n\t\t\t\t\t\t\t\tdownload: true,\n\t\t\t\t\t\t\t\tcounter: true,\t\t\t\t\t\t\t\/\/image count hide show\n\t\t\t\t\t\t\t\tautoplayControls: true,\t \t\t\t\/\/auto play icon show hide\n\t\t\t\t\t\t\t\tfullScreen: true,\n\t\t\t\t\t\t\t\tenableSwipe: true,\n\t\t\t\t\t\t\t\tenableDrag: true,\n\t\t\t\t\t\t\t\tthumbnail:true,\n\t\t\t\t\t\t\t\tanimateThumb: true,\t\t\t\t\t\t\t\t\t   \/\/ Show \/ Hide Thumbnail All Images In same line or vertical line\n\t\t\t\t\t\t\t\t\/\/show and hide thumb setting\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tshowThumbByDefault: true,\n\t\t\t\t\t\t\t\t\tsubHtmlSelectorRelative: true,\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tspeed: 500,\n\t\t\t\t\t\t\t\tzoom: true,\n\t\t\t\t\t\t\t\tactualSize: true,\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\/\/light case lightbox js\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\tvar new_lg_start_limit = lg_limit_end;\n\t\t\t\t\tvar new_lg_end_limit = parseInt(lg_limit_end) +  parseInt(6);\n\t\t\t\t\tjQuery(\"#lg_limit_start_1171\").val(new_lg_start_limit);\n\t\t\t\t\tjQuery(\"#lg_limit_end_1171\").val(new_lg_end_limit);\n\t\t\t\t},\n\t\t\t\n\t\t\t});\n\t\t} else {\n\t\t\tjQuery(\".lg_loader_1171\").hide();\n\t\t\tjQuery(\".lg_load_more_1171\").hide();\n\t\t\tjQuery(\".lg_no_more_1171\").show();\n\t\t}\t\t\n\t}\n\n\t\/\/thumbnail or  fixed Size thumbnail  \n\t\t\/\/ light gallery full width lightbox js\n\t\t\tjQuery( window ).load(function() {\n\t\t\tjQuery('#animated-thumbnials-1171').lightGallery({\n\t\t\t\tdownload: true,\n\t\t\t\tcounter: true,\t\t\t\t\t\t\t\/\/image count hide show\n\t\t\t\tautoplayControls: true,\t \t\t\t\/\/auto play icon show hide\n\t\t\t\tfullScreen: true,\n\t\t\t\tenableSwipe: true,\n\t\t\t\tenableDrag: true,\n\t\t\t\tthumbnail:true,\n\t\t\t\tanimateThumb: true,\t\t\t\t\t\t\t\t\t   \/\/ Show \/ Hide Thumbnail All Images In same line or vertical line\n\t\t\t\t\/\/show and hide thumb setting\n\t\t\t\t\t\t\t\tshowThumbByDefault: true,\n\t\t\t\tsubHtmlSelectorRelative: true,\n\t\t\t\t\t\n\t\t\t\t\t\t\t\tspeed: 500,\n\t\t\t\tzoom: true,\n\t\t\t\tactualSize: true,\n \t\t\t\t\/* dynamic: true,\n\t\t\t\tdynamicEl: [{ }], *\/\n\n\t\t\t});\n\t\t});\n\t\t\n\t\/\/light case lightbox js\n\t\njQuery(document).ready(function () {\n\t\/\/ isotope effect function\n\t\/\/ Method 1 - Initialize Isotope, then trigger layout after each image loads.\n\tvar $grid = jQuery('.all-images-1171').isotope({\n\t\t\/\/ options...\n\t\titemSelector: '.single-image-1171',\n\t});\n\t\/\/ layout Isotope after each image loads\n\t$grid.imagesLoaded().progress( function() {\n\t\t$grid.isotope('layout');\n\t});\t\n});\t\n\n\/\/background color Events Settings\n<\/script>\t<!-- CSS Part Start From Here-->\n\t<style>\n\t.lg-outer.lg-visible {\n\t\tdirection: ltr ;\n\t\t}\n\t.lg_load_more_1171 {\n\t\tbackground-color:#1e73be !important;\n\t\tcolor:#ffffff !important;\n\t\tmargin: 20px 0px 10px;\n\t}\n\t.all-images-1171 a .photo_gallery_title {\n\t\tcolor: #828282;\n\t}\n\t\n\t#animated-thumbnials-1171 a {\n\t\ttext-decoration: none !important;\n\t\tbox-shadow: 0 0px 0 0 currentcolor !important;\n\t\tmargin-bottom: 30px;\n\t}\n\t\t\n\t#animated-thumbnials-1171 img {\n\t\twidth: 100% !important;\n\t\theight: auto;\n\t}\n\t.single-image-1171 div {\n\t\tbox-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);\n\t}\n\t\n\t\n\t\t\n\t\/* light gallery and fixed gallery *\/\n\t.lg-sub-html h4 {\n\t\tcolor: #ffffff !important;\n\t}\n\t\n\t.lg-icon {\n\t\tcolor : #ffffff !important;\n\t}\n\t\n\t\/* light case light box *\/\n\t[class*=\"lightcase-icon-\"]::before {\n\t\tborder-radius: 50%;\n\t\tcolor: #ffffff !important;\n\t}\n\t#lightcase-overlay {\n\t\t opacity: 0.3 !important;\n\t\t background-color: #474747 !important;\n\t}\n\t#lightcase-info #lightcase-caption {\n\t\tcolor: #999999 !important;\n\t\tfont-size: 12px !important;\n\t}\n\t#lightcase-info #lightcase-sequenceInfo {\n\t\tcolor: #999999 !important;\n\t\tfont-size: 12px;\n\t}\n\t\n\t.single-image-1171 .video-icon-1 i {\n\t\tcolor: #FF0000;\n\t\tbackground-color: rgba(0, 0, 0, 0.8);\n\t\tposition: absolute;\n\t\tpointer-events: none;\n\t\tborder-radius: 50%;\n\t\twidth: 50px;\n\t\theight: 50px;\n\t\tpadding: 15px;\n\t\ttop: 45%;\n\t\ttransform: translate(-50%, -50%);\n\t\tleft: 50%;\n\t\ttransition: opacity 0.5s;\n\t\tfont-size: 20px;\n\t}\n\t.single-image-1171 .video-icon-2 i {\n\t\tcolor: #00ADEF;\n\t\tbackground-color: rgba(0, 0, 0, 0.8);\n\t\tposition: absolute;\n\t\tpointer-events: none;\n\t\tborder-radius: 50%;\n\t\twidth: 50px;\n\t\theight: 50px;\n\t\tpadding: 15px;\n\t\ttop: 45%;\n\t\ttransform: translate(-50%, -50%);\n\t\tleft: 50%;\n\t\ttransition: opacity 0.5s;\n\t\tfont-size: 20px;\n\t}\n    .single-image-1171 .video-icon-3 i {\n\t\tcolor: #fff;\n\t\tbackground-color: rgba(0, 0, 0, 0.8);\n\t\tposition: absolute;\n\t\tpointer-events: none;\n\t\tborder-radius: 50%;\n\t\twidth: 50px;\n\t\theight: 50px;\n\t\ttop: 45%;\n\t\ttransform: translate(-50%, -50%);\n\t\tleft: 50%;\n\t\ttransition: opacity 0.5s;\n\t\tfont-size: 20px;\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t}\n    .lgp_load_more_button {\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t}\n\n.gallery-caption {\npadding: 20px 20px;\ndisplay: flex;\nflex-direction: column;\nfont-size: 14px;\ncolor: #828282;\nmargin: 0;\ngap: 10px\n}\n\n\t<\/style>\n\t<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1174","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-json\/wp\/v2\/pages\/1174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-json\/wp\/v2\/comments?post=1174"}],"version-history":[{"count":1,"href":"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-json\/wp\/v2\/pages\/1174\/revisions"}],"predecessor-version":[{"id":1175,"href":"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-json\/wp\/v2\/pages\/1174\/revisions\/1175"}],"wp:attachment":[{"href":"https:\/\/awplife.com\/demo\/photo-gallery-premium\/wp-json\/wp\/v2\/media?parent=1174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}