[WordPress] 外掛分享: Our Partners by WOWProjects

首頁外掛目錄 › Our Partners by WOWProjects
WordPress 外掛 Our Partners by WOWProjects 的封面圖片
10+
安裝啟用
尚無評分
2892 天前
最後更新
問題解決
WordPress 3.8+ v1.3.2 上架:2016-01-19

內容簡介

組織夥伴管理

「WOWProjects 的夥伴」是一款乾淨且易於使用的 WordPress 組織夥伴管理系統。載入你的夥伴並在頁面上顯示為文章,並給予它們自己的分類。

支援

需要幫助嗎?請查看外掛文檔。

參與貢獻

想要為這個外掛程式貢獻代碼嗎?請前往 GitHub 上的存儲庫進行分支派生。
(將拉取請求提交到最新的「release-」標籤)

使用方法

要通過佈景主題或自定義外掛顯示你的組織夥伴,請使用以下代碼:

在引數中定義自定義文章類型的名稱

$args = array('post_type' => 'partners');

基於引數定義循環

$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;?>

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Our Partners by WOWProjects」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Organization Partners Management
“Our Partners by WOWProjects” is a clean and easy-to-use organization partners management system for WordPress. Load in your partners 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 partners 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' => 'partners');

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();
?>

文章
Filter
Apply Filters
Mastodon