Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Post List with Load More

Описание

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

  1. Asynchronous pagination to ensure unwanted reloading and best reading experience.
  2. Comes with flexible custom block with a bunch of settings.
  3. Pre-built layouts for getting started easily.
  4. Option to load more posts ‘On Scroll’ or ‘On Button Click’.
  5. Dynamic shortcode generator so you don’t have to remember different shortcode parameters.

Скриншоты

  • Admin - Block with settings.
  • Admin - Plugin settings (for shortcode version).
  • Admin - Generate shortcode.
  • Frontend - Grid layout.
  • Frontend - List layout

Блоки

Этот плагин предоставляет 1 блок.

  • Post List with Load More Display the list of posts anywhere on your site.

Установка

  1. Go to Dashboard > Plugins > Add New.
  2. Search for ‘Post List with Load More’ in Search plugins… textbox and hit Enter.
  3. Install & Active the ‘Post List with Load More’ plugin.
  4. 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.

Часто задаваемые вопросы

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.

Отзывы

05.06.2020
It does it's intended job. It doesn't have any fancy CSS templates but I prefer it this way, I can add my own CSS without changing to much. Well done sir! EDIT ------------- And support is awesome!
Посмотреть 1 отзыв

Участники и разработчики

«Post List with Load More» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«Post List with Load More» переведён на 1 язык. Благодарим переводчиков за их работу.

Перевести «Post List with Load More» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

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