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

Infinite Scroll and Ajax Load More

外掛說明

Forgot the next page click and wait for the load list of the posts on the next page.

By using the Infinite scrolling you can list out all post on the same page by just scrolling the page down.

The another choice is you put the “Load More” button by using the shortcode, by click on the load more button some list of post are display on the same page.

This plugin use in the all the listing page of the blog like archive, category and author.

Features

Fully customizable to adapt to your site and theme.

Override the template loop file in your theme and you can change layout of the posts listing.

For the override create “ajax-load-more” directory under the theme folder and copy “content-loop.php” file from plugin “templates” directory and put on the “ajax-load-more” directory make required changes on loop file.

For the Infinite scrolling just install the plugin, make setting and just scroll.
You can change the loader image from the settings.

For the Infinite scrolling you can add the class names for the selector.
Also for the load more button you can change the button color and text.

螢幕擷圖

  • Infinite Scroll setting.
  • Infinite Scroll screen.
  • Infinite Scroll show more post screen.
  • Ajax Load more button screen.
  • Ajax Load more button show more post screen.

安裝方式

Easiest way:
1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the ‘Plugins’ screen in WordPress
3. Use the Settings->Plugin Name screen to configure the plugin

常見問題集

How to override the template loop file.

For the override create the a folder “ajax-load-more”.
Go to the “wp-content/plugins/infinite-scroll-ajax-load-more/templates” from here copy “content-loop.php” file and paste in your theme ajax-load-more folder.
Now you can make the change in the “content-loop.php” file located in theme.

Where to put shortcode?

Put the shortcode after the end of while loop and remove the pagination code. you can put this code in index.php, archive.php
do_shortcode(‘[ajax-loadmore-button]’);

使用者評論

閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Infinite Scroll and Ajax Load More〉的開發相關工作。

參與者

變更記錄

1.0

First version