
內容簡介
組織方案管理
「Our Programs by WOWDevShop」是一個簡潔易用的 WordPress 組織方案管理系統。您可以載入您的方案並將它們顯示在一個頁面中作為文章,並有自己的分類。
支援
需要協助嗎?請查閱外掛文件。
參與貢獻
想要為此外掛貢獻代碼嗎?歡迎到 GitHub 上複製此專案庫,以提出拉取請求至最新的「release-」標籤版本。
用法
若要透過主題或自訂外掛程式顯示您的組織方案,請使用以下代碼:
在參數中定義您自訂的文章類型名稱
$args = array('post_type' => 'programs');
根據參數定義迴圈
$loop = new WP_Query( $args );
顯示內容
使用範例
<?php
$args = array('post_type' => 'bios');
$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 Programs Management
“Our Programs by WOWDevShop” is a clean and easy-to-use organization programs management system for WordPress. Load in your programs 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 programs 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' => 'programs');
Define the loop based on arguments
$loop = new WP_Query( $args );
Display the contents
Usage Examples
'bios');
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
?>
