這個外掛並未在最新的 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.

評價

There are no reviews for 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.