该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.