| Server IP : 38.190.208.107 / Your IP : 216.73.217.1 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : root ( 0) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.9/wp-content/themes/woodmart/js/scripts/blog/ |
Upload File : |
!function(u){u.each(["frontend/element_ready/wd_blog.default"],function(o,e){woodmartThemeModule.wdElementorAddAction(e,function(){woodmartThemeModule.blogLoadMore()})}),woodmartThemeModule.blogLoadMore=function(){var s=".wd-blog-load-more.load-on-scroll",m=!1;woodmartThemeModule.clickOnScrollButton(s,!1,!1),u(".wd-blog-load-more").on("click",function(o){o.preventDefault();var t,a,e,d,n,r,l=u(this);m||l.hasClass("no-more-posts")||(m=!0,t=l.parent().siblings(".wd-blog-holder"),o="woodmart_get_blog_"+(a=t.data("source")),e=woodmart_settings.ajaxurl,d="POST",n=t.data("atts"),r=t.data("paged"),l.addClass("loading"),o={atts:n,paged:r,action:o},"main_loop"===a&&(e=l.attr("href"),d="GET",o=n?{atts:n}:{}),o.woo_ajax=1,u.ajax({url:e,data:o,dataType:"json",method:d,success:function(e){woodmartThemeModule.removeDuplicatedStylesFromHTML(e.items,function(o){o=u(o);o&&(t.hasClass("wd-masonry")?(t.append(o).isotope("appended",o),t.imagesLoaded().progress(function(){t.isotope("layout"),woodmartThemeModule.clickOnScrollButton(s,!0,!1)})):(t.append(o),t.imagesLoaded().progress(function(){woodmartThemeModule.clickOnScrollButton(s,!0,!1)})),"yes"===woodmart_settings.load_more_button_page_url_opt&&"no"!==woodmart_settings.load_more_button_page_url&&e.currentPage&&window.history.pushState("","",e.currentPage),t.data("paged",r+1),"main_loop"===a)&&(l.attr("href",e.nextPage),"no-more-posts"===e.status)&&l.parent().hide().remove(),"no-more-posts"===e.status&&(l.addClass("no-more-posts"),l.parent().hide())})},error:function(){console.log("ajax error")},complete:function(){l.removeClass("loading"),m=!1}}))})},u(document).ready(function(){woodmartThemeModule.blogLoadMore()})}(jQuery);