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

AspieSoft Ajax Load Page

描述

Easily lazy load another page simply by adding a shortcode with its url.

The 2nd page wont load until the user scrolls to the bottom, than an ajax request is sent to get the page content.
This can help speed up large pages on your site, by not loading the stuff users don’t see until they scroll down closer to the bottom.

安裝

  1. Upload plugin to the /wp-content/plugins
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. Enjoy

常見問題

How do I use the shortcode?

[ajax-load-page
url=”url of page to load”
type=”ajax or iframe (optional) (default: ajax)”
]

How to load only a specific part of a page?

On a page, if you wrap specific content with “

“.
Using that class will tell the script to only load that section of the page.
You can add the “ajax-load-content” as often as you want, and each of them will be loaded one after the other, without the in between content.

What if the ajax request is still loading the header and footer?

The plugin script, after getting the page data, uses jquery and attempts to find the main content.
If this does fail, you can wrap your main content in the html tag with the class “ajax-load-content”.

評價

There are no reviews for this plugin.

貢獻者及開發者

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

貢獻者

將 AspieSoft Ajax Load Page 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.1

Added option to load page as iframe

1.0

Initial Commit