Easy Resource Hub

外掛說明

With flexible filter options and customizable layouts, this plugin is ideal for managing and presenting various resources such as articles, portfolios, products, or any custom content.

This plugin is licensed under the GNU General Public License, version 2 or later (GPL-2.0+)

Features

  • Custom Post Types and Taxonomies: Display custom post types and filter them using their associated taxonomies.
  • AJAX-powered Filters: Smooth, asynchronous content filtering for a seamless user experience.
  • Responsive Design: Adapts to different screen sizes for optimal viewing on desktops and mobile devices.
  • Customizable Layouts: Choose filter positions and modify aspects of the display through shortcode parameters.
  • Pagination: Navigate through content with an intuitive pagination system.
  • ACF/WCK Compatibility: Supports images from Advanced Custom Fields or WordPress Creation Kit custom fields.

Shortcode Usage
The main functionality of the plugin is accessible through the [easy_resource_hub] shortcode. Below are the available attributes:

  • post_types: Specify the custom post types to display. Default is all public post types.
  • taxonomies: List of taxonomies to use for filtering. Default is all taxonomies associated with the specified post types.
  • taxonomy_mode: Determines which taxonomies are shown (‘all’ or ‘common’). Default is ‘all’.
  • multi_select: Enable multi-select for taxonomy filters. Default is false.
  • filters_position: Position of the filters (‘above’ or ‘left’). Default is ‘above’.
  • left_column_width: Width of the left column when filters are on the left. Only effective with filters_position=”left”.
  • items_per_page: Number of items to display per page.
  • acf_image_field: Specify an ACF field name to use for images if no featured image is set.
  • wck_image_field: Specify a WCK field name to use for images if no featured image is set.

Example:

[easy_resource_hub post_types=”article,portfolio” taxonomies=”category,tag” items_per_page=”10″ filters_position=”left” left_column_width=”250px”]

This shortcode displays articles and portfolios, filters by categories and tags, shows 10 items per page, places filters on the left with a width of 250px.

Installation

  1. Upload the easy-resource-hub folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Customization
Styling can be customized via CSS. The plugin’s classes and IDs can be used to modify the appearance to fit your theme.

License

This plugin is released under the GPL license.

螢幕擷圖

  • screenshot1.png

常見問題集

None yet

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

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

參與者

將〈Easy Resource Hub〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

None Yet