该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Jetpack Infinite Scroll For Genesis

描述

This plugin enables themes that use the StudioPress Genesis Framework to use JetPack’s Infinite Scrolling functionality. The current version uses the Jetpack default settings.

安装

  1. Upload genesis-jetpack-infinite-scroll.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. You should be able to see the Jetpack options under Settings > Reading.

常见问题

Can I change the default Jetpack settings?

It’s possible, but not without manually integrating it into your theme. The next version should have a settings panel to insert these options.

Can I use this on other themes that don’t use the Genesis Framework?

Probably not.

What version of Genesis does this work on?

As of now, Genesis 2.x (HTML5) is required to use this plugin. Other versions might work, but they are not supported (nor should you be using those anyhow).

How does this work?

The plugin assigns an ID to <content> and the footer widgets widget area (if that exists), which is what Jetpack looks for to work properly. It also uses the genesis_do_loop instead of the standard WordPress loop that Jetpack normally looks for, and removes pagination to keep errant clicks from breaking the functionality.

评价

阅读所有2条评价

贡献者及开发者

“Jetpack Infinite Scroll For Genesis” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • This is the first version.

1.01

  • Fixed single-quote issue in response to https://wordpress.org/support/topic/code-needs-a-small-tweak