/query-loop-load-more

Adds a "load more" option to the query loop pagination block in Gutenberg.

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Query Loop Load More WordPress Plugin

This WordPress plugin adds a load more option to the Query Loop Pagination block in Gutenberg, allowing users to load more posts without refreshing the page.

Installation

  1. Upload the plugin files to the /wp-content/plugins/query-loop-load-more directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.

Usage

To use this plugin, you must first add the Query Loop block into your post content, then add the Pagination block inside the Query Loop. When working with the Pagination block, you will see new options to enable load more on the block.

The load more option allows you to set a loading text parameter and also the button text. The load more button works with the alignment options and arrow options of the pagination block.

Here is how to enable the load more option:

  1. Add the Query Loop block to your post content.
  2. Inside the Query Loop block, add the Pagination block.
  3. In the Pagination block settings, enable the "Load More" option.
  4. Set the loading text parameter and the button text.
  5. Customize the alignment and arrow options if desired.

That's it! Your visitors can now load more posts by clicking the load more button without refreshing the page.

Changelog

1.0.1

  • Fix - Unify GPL license
  • Fix - Unify text domain and plugin slug

1.0.0

  • Initial release.