這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Wp Loop

外掛說明

This plugin adds a widget to your WordPress site called Wp Loop, publish this widget wherever needed and set its options, it creates a WordPress Query Loop that has Grid Layout(Isotope) and can be filtered with ajax(Isotope Filtering), it can display any CPT and has a bunch of design options and loop customizations:

  • -Title: Title of the widget
  • -Categories to show, use slugs separated by commas: Which categories to include in the loop, they can be custom post types categories
  • -Categories to hide, use ids separated by commas: The categories to hide, here you need to use id’s
  • -Filter taxonomyIf you need to filter the loop(ajax filter), write here wchich term you need to filter.
  • -Offset, number: Write the number for offset in the loop, this means the number of post you need to jump from beginning.
  • -Number of posts to show: Posts per page
  • -Image Size to use: This will list all available image sizes in theme, so choose which you prefer
  • -Post Type to use: This field will list all available post types in theme for you to choose one
  • -Order: Order of loop
  • -Order by: Order by
  • -Columns to use: You can set here until 20 columns
  • -Title Words, number: How many words to show in title of posts
  • -Excerpt Words, number: How many words to show in excerpt of posts
  • -Infinite Scroll: Choose to No, Button or Auto(the infinite scroll triggers when you scroll down the page)

Usage instructions

Just publish the widget wherever needed. It works great with Site Origin Panels plugin to create full layouts.

Developer instructions

Apart from the options inside widget you can manipulate the before/after loop and articles content with this actions:

do_action(‘wploop_before_content’); // The beginnning of content inside each article
do_action(‘wploop_after_content’); // The end of content inside each article
do_action(‘wploop_before_loop’); // Out of the loop
do_action(‘wploop_after_loop’); // Out of the loop

Find plugin and issues solved at http://mimo.studio

螢幕擷圖

  • Shows the widget administration options
  • Shows widget Frontend

安裝方式

  1. Upload wp-loop folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Follow usage instructions, just plublish the Wp Loop Widget and set its options.

常見問題集

Installation Instructions
  1. Upload wp-loop folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Follow usage instructions, just plublish the Wp Loop Widget and set its options.
Do this plugin work with all kind of custom post types?

Yes, it is intended to read the post types in your WordPress site and list them for you to choose in each Wp Loop widget.

使用者評論

2016 年 9 月 3 日 2 則留言
Does it have shortcode?
2016 年 9 月 3 日
This is something I was looking for.
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Wp Loop〉的開發相關工作。

參與者

將〈Wp Loop〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.2.2

Filtering issue solved
Order and Orderby issues solved

1.2.1

Css fixes

1.2.0

Css fixes

1.0.4

Fixed bug in widget saving options

1.0.3

Fixed bug with infinite scroll

1.0.2

Fixed bug, grid was not working properly with custom post types

1.0.1

Fixed minor css bug

1.0

First Version