Ingeni Latest Posts
A Wordpress Gutenberg block control to display the latest posts or page. Posts are displayed in columns, but a custom template can be provided to display the posts in any required format.
by Bruce McKinnon - ingeni.net · github.com/brucemckinnon/ingeni-latest-posts
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/brucemckinnon/ingeni-latest-posts/archive/refs/heads/master.zipReadme
=== Ingeni Latest Posts === Contributors: The WordPress Contributors Tags: block, posts Tested up to: 6.3.1 Stable tag: 2023.6.0 License: GPL-2.0-or-later License URI: https://www.gnu.org/licenses/gpl-2.0.html
Display the latest posts of a category
== Description ==
A block control to display the latest posts or page. Posts are displayed in columns, but a custom template can be provided to display the posts in any required format.
== Installation ==
- Upload the plugin files to the '/wp-content/plugins/ingeni-latest-posts' directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the 'Plugins' screen in WordPress
== Frequently Asked Questions ==
= How do I create a custom template =
- In your Wordpress theme folder, create a sub-folder called 'ingeni-latest-posts'.
- Copy the file '/wp-content/plugins/ingeni-latest-posts/templates/ilp_template_std.php' to '/wp-content/{your_theme}/ingeni-latest-posts/ilp_template_std.php'.
- In the '/wp-content/{your_theme}/ingeni-latest-posts/ilp_template_std.php' folder, rename the file 'ilp_template_std.php' (make sure you keep the .php file extension).
== Changelog ==
= 2023.1.0 - Initial release.
= 2023.2.0 - Added the ability to set the sortOrder and orderBy parameters of the WP query, and also the offset parameter.
= 2023.3.0 - Added the Post Parent ID parameter.
= 2023.4.0 - Refactored the Categories - now permits selected categories to included, excluded, or completely ignored.
- Added debug switch
- Added meta query builder (specifically for ACF and CPTs).
= 2023.5.0 - If Max Posts set to 0, display all posts
- If Post Parent set to 0, ignore checking the Post Parent
= 2023.6.0. - Templates now implement namespaces, allowing multiple templates to be used on a single page.