[WordPress] 外掛分享: Prjcts

首頁外掛目錄 › Prjcts
WordPress 外掛 Prjcts 的封面圖片
全新外掛
安裝啟用
尚無評分
12 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.0+ v1.0.5 上架:2024-10-05

內容簡介

Prjcts 是一款專為 WordPress 主題開發者設計的外掛,能夠輕鬆整合自訂文章類型,幫助用戶組織和展示專案。非常適合用於創意、攝影、藝術等主題的作品集實作。

【主要功能】
• 自訂文章類型:輕鬆創建和管理個別專案
• 自訂分類:使用量身訂做的分類組織專案
• 完全自訂化:修改專案存檔標題和 URL 以優化 SEO
• 優化效能:遵循 WordPress 最佳實踐進行開發

外掛標籤

開發者團隊

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

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

原文外掛簡介

“Prjcts” is the ideal plugin for WordPress theme developers who want to integrate a simple custom post type to organize and showcase projects. It’s perfect for implementing portfolios in themes designed for creatives, photographers, artists, and more.
Key Features:

Custom Post Type: Easily create and manage individual projects, perfect for portfolios, case studies, and galleries.
Custom Categories: Organize projects with tailored categories for intuitive navigation.
Full Customization: Easily modify the project archive title and URL slugs to optimize SEO and enhance user experience.
Optimized Performance: Developed following WordPress best practices for smooth integration.

Benefits for Theme Developers:

Time-Saving: Rapid implementation of a custom post type to organize and showcase projects without coding from scratch.
Flexibility: Offer clients the power to organize their work professionally.

Usage
There are several ways to display Custom Post Types (CPT) and custom taxonomies in a WordPress theme. Here are some basic examples:

Single Template (single-prjcts.php): When you create a CPT, you can create a specific template to display individual posts of that type by using a single-{post_type}.php file.
Archive Template (archive-prjcts.php): To display a list of all posts of a particular CPT, you can create an archive-{post_type}.php file.
Custom Taxonomy Template (taxonomy-prjcts_category.php): To display terms of a custom taxonomy associated with the CPT, you can create a file like taxonomy-{taxonomy}.php, where ‘prjcts_category’ is the name of the taxonomy.

You can use WP_Query to create custom queries anywhere in your theme. For example, if you want to display posts from a CPT on a specific page, you can create a new query:
$args = array(
'post_type' => 'prjcts',
'posts_per_page' => 10,
);

$the_query = new WP_Query($args);

if ($the_query->have_posts()) :
while ($the_query->have_posts()) : $the_query->the_post();

// YOUR MARKUP HERE

endwhile;
wp_reset_postdata();
else :
echo 'No posts found';
endif;

延伸相關外掛

文章
Filter
Mastodon