這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Easy Load More

描述

Rather than having your users download a new page each time they click to view older posts, speed up your website by dynamically loading those posts on the same page using ajax. With minimal editing to your theme files, Easy Load More will add a button for ajax content loading. Works automatically on your front page, any taxonomy or custom post type page, any archive page, and search pages without special configuration.

Easy Load More has a light footprint that won’t slow your website down. Buttons are lightly styled that won’t override or interfere with your theme styles. The required javascript is tiny at only 766 bytes. Animated loading icons are rendered with SVG so your users don’t have to download images. Finally advanced theme developers can optionally turn off plugin styles and javascript to bundle it with theme files, reduce HTTP requests that increase page load time, and completely customize the look and feel of the loading buttons.

螢幕截圖

  • Add a load more button to your posts loop.
  • Choose from 9 different animated loading icons.
  • Example of how to add the button to your template.

安裝

Installing “Easy Load More” can be done either by searching for “Easy Load More” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:

  1. Download the plugin via WordPress.org
  2. Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress dashboard
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

Once plugin is activated, you need to update plugin settings under ‘Settings > Easy Load More’. On pages where you would like to use the button you need to add the “load_more_button()” function to your template files.

常見問題

Installation Instructions

Installing “Easy Load More” can be done either by searching for “Easy Load More” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:

  1. Download the plugin via WordPress.org
  2. Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress dashboard
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

Once plugin is activated, you need to update plugin settings under ‘Settings > Easy Load More’. On pages where you would like to use the button you need to add the “load_more_button()” function to your template files.

評價

2019年5月2日
This plugin is not working even with wordpress default post listing.
2018年6月22日
If you using custom WP_query make sure your store it in var named $wp_query. Otherwise button will not disappear when all posts loaded.
2018年1月5日
Not by default for main page (as written in the description), not by using load_more_button() function.
2017年3月14日
Everything is great, but the styles on the button are awful (nothing a lil' css can't fix) 😛
閱讀全部13個評價

貢獻者及開發者

“Easy Load More” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Easy Load More 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.3

  • 2017-11-27
  • Added custom events polyfill for IE

1.0.2

  • 2017-05-30
  • Added javascript events “elm-loaded”, “elm-lastPage”, and “elm-fail”

1.0.1

  • 2017-03-01
  • Removed dependency on WordPress jquery handle for script loading
  • Moved plugin script to footer
  • Fixed constant name conflict

1.0

  • 2015-06-18
  • Initial release