=== Jetpack Related Posts Query Loop ===
Contributors: wpspecialprojects
Tags: query, related posts, jetpack
Tested up to: 6.8.3
Stable tag: 0.1.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Requires at least: 6.6
Requires PHP: 7.4
Display Jetpack's related posts in a query block that can be customized in the editor like any other query block.
== Description ==
The Jetpack Related Posts Query Loop plugin adds a query block variation named Related Posts Query that displays the related posts from Jetpack in a query block that can be customized like a regular query block in the editor. This allows for more customization options than the default Jetpack Related Posts block.
== Installation ==
- Upload the
jp-related-posts-query-loopfolder to your/wp-content/plugins/directory - Activate the plugin Jetpack Related Posts Query Loop through the 'Plugins' menu in WordPress
How It Works:
- Edit any post and add the Related Posts Query block variation.
1.1. The block can be added by either typing/relatedin a paragraph and picking the Related Posts Query block
1.2. Or by clicking the Block Inserter button (Plus button in the top toolbar) in the editor and selecting Related Posts Query from the list of blocks in the Theme section. - Customize the query block like any regular query block.
Notes:
- This block variation uses Jetpack's Related Posts feature. If Jetpack is not activated or it returns no results, the block will display random posts from the site.
- In the editor, the block will display the latest posts.
= Building from source =
Requirements: Node.js 18+.
cd jp-related-posts-query-loopnpm installnpm run build— production buildnpm start— development build with file watching
== Changelog ==
= 0.2.0 =
- Fixed incorrect post ID check and incorrect post_type attribute
= 0.1.0 =
- Initial release
What's Changed
Full Changelog: https://github.com/a8cteam51/special-projects-blocks-monorepo/compare/jp-related-posts-query-loop@0.1.0...jp-related-posts-query-loop@0.2.0