
內容簡介
組織成員管理
「Our Members by WOWProjects」是一個為 WordPress 所設計的乾淨、易於使用的組織成員管理系統。您可以載入成員並在頁面上以文章形式以其自有的分類顯示。
支援
需要幫忙嗎?請檢視外掛文件以獲取協助。
參與貢獻
想為此外掛貢獻程式碼嗎?請前往GitHub 庫專案進行叉離。
(送出拉取請求至最新的「release-」標籤)
使用方式
若要透過主題或自訂外掛顯示您的組織成員,請使用以下程式碼:
在引數中定義您自訂的文章類型名稱
$args = array('post_type' => 'members');
基於引數定義迴圈
$loop = new WP_Query( $args );
顯示內容
使用範例
<?php
$args = array('post_type' => 'members');
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
?>
<h1 class="entry-title"><?php the_title(); ?></h1>
<div class="entry-content">
<?php the_content(); ?>
</div>
<?php endwhile;?>
外掛標籤
開發者團隊
原文外掛簡介
Organization Members Management
“Our Members by WOWProjects” is a clean and easy-to-use organization members management system for WordPress. Load in your members and display them on a page as posts, with their own categories.
Support
Looking for a helping hand? View plugin documentation.
Get Involved
Looking to contribute code to this plugin? Go ahead and fork the repository over at GitHub.
(submit pull requests to the latest “release-” tag)
Usage
To display your organization members via a theme or a custom plugin, please use the following code:
Define your custom post type name in the arguments
$args = array('post_type' => 'members');
Define the loop based on arguments
$loop = new WP_Query( $args );
Display the contents
Usage Examples
'members');
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
?>
