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

Ajax Widget Area

外掛說明

Speed up page load by loading in a widgets area with AJAX.

This plugin creates a new ‘Ajax Widget Area’. The widget loads the widgets placed in the ‘Ajax Widget Area’ with AJAX, after the page has loaded.

螢幕擷圖

  • Example Usage.

安裝方式

  1. Upload the ajax-widget-area folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the widgets page, and place widgets in the new Ajax Widgets Area.
  4. Place the Ajax Widget Area Widget in another widget area.

常見問題集

Why would I want to do this?

To speed up page load. The user would have access to the main content on the page faster, and by the time they’re done with that the widgets will have loaded in.

What about SEO?

Good question! Anything place in the ajax widget area won’t be indexed by the search engines, so you might not want to put everything in there. Future versions will separate options for Desktop, Mobile and Bots.

Only 1 ajax widget area? I need more!

Dive into the code then, creating additional ajax widget areas won’t take to long!

The styling of the widgets is broken

Sorry. In WordPress when you define a widget area you also define what html surrounds the widget, and the widget title. The html structure is this plugin is consistent with the Twenty Eleven base theme, but other themes use different html. To fix this you could copy from your theme’s functions.php – ‘before_widget’, ‘after_widget’, ‘before_title’ and ‘after_title’ html into this plugin.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Ajax Widget Area〉的開發相關工作。

參與者

將〈Ajax Widget Area〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

0.5

  • Ajax Widget Area goes public.

0.6

  • Bug Fix for non-admin users.

0.7

  • Add before_widget, after_widget, before_title and after_title html, to be consistent with Twenty Eleven html.