Beskrivelse
Loading more posts is made asynchronous (using AJAX) to ensure seamless user experience.
The plugin is shipped with two basic layouts: Grid and List.
For ease and simplicity layouts styles are kept basic, so it should reflect whatever styles provided by your active theme and you don’t have to overwrite styles for each and every element of the layout.
Features
- Asynchronous pagination to ensure unwanted reloading and best reading experience.
- Comes with flexible custom block with a bunch of settings.
- Pre-built layouts for getting started easily.
- Option to load more posts ‘On Scroll’ or ‘On Button Click’.
- Dynamic shortcode generator so you don’t have to remember different shortcode parameters.
Skærmbilleder
Blokke
This plugin provides 1 block.
- Post List with Load More Display the list of posts anywhere on your site.
Installation
- Go to Dashboard > Plugins > Add New.
- Search for ‘Post List with Load More’ in Search plugins… textbox and hit Enter.
- Install & Active the ‘Post List with Load More’ plugin.
- You’re done!
Usage
There are a couple of ways you can display posts:
1. Custom Block – If your website is running on recent WordPress version and is using Block Editor for content editing then using Block is the easiest way to display posts. I hope you would love intuitive block settings which should show live preview of the changes you make.
* Go to Dashboard > Edit post/page > Click ‘Block Inserter’ from top-left corner > Search or Select ‘Post List with Load More’.
* Try changing block settings per your need and you’re done.
1. Shortcode – If your website is running on older WordPress version (i.e. before v5) then you can still make most out of the plugin through Shortcode. You can generate shortcode dynamically by changing several fields depending on your needs via plugin settings page.
* Go to Dashboard > Settings > Post List with Load More.
* ‘Settings’ tab will let you choose Layout Style and Load More posts option.
* ‘Generate Shortcode’ by changing fields depending on your requirement and copy the generated shortcode.
* Go to Dashboard > Edit post/page > Click ‘Block Inserter’ from top-left corner > Search or Select ‘Shortcode’ block and paste the copied shortcode.
FAQ
-
Does this plugin support custom post type?
-
Yes, it does.
-
Does this plugin allow me to list the posts filtered by custom taxonomy?
-
Yes. Absolutely! You can use custom taxonomies registered with your WordPress installation in order to filter the posts by.
-
What if I wish to use shortcode in file?
-
You can always add snippet like
<?php echo do_shortcode('[post_list_with_load_more]'); ?>
in your code in order to render post list from your code.
Anmeldelser
Bidragsydere & udviklere
“Post List with Load More” is open source software. The following people have contributed to this plugin.
Bidragsydere“Post List with Load More” er blevet oversat til 1 sprog. Tak til oversætterne for deres bidrag.
Translate “Post List with Load More” into your language.
Interesseret i udvikling?
Gennemse koden, tjek SVN repository, eller abonner på udviklerloggen via RSS.
Ændringslog
2.0.1 – January 03, 2023
- Fixed broken shortcode generator.
- Updated screenshots.
2.0.0 – January 01, 2023
- Added block support.
- Restructured code and use of composer for developers’ ease.
- Updated assets with consistent design.
1.0.5 – December 16, 2022
- Fix – Load more functionality broken with recent WordPress release.
- Fix – minor phpcs warnings.
1.0.4 – April 19, 2021
- Fix – Empty post listing if no categories selected.
- Fix – Empty space before ending shortcode.
1.0.3 – June 03, 2020
- Translation support for ‘Load More’ button added.
1.0.2 – June 02, 2020
- Add multilingual support.
1.0.1 – December 04, 2019
- Follow standard naming conventions.
1.0.0 – December 04, 2019
- Initial release