Περιγραφή
“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.
- Flexible URLs: Customize project archive and taxonomy URLs 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:
<?php $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; ?>
Εγκατάσταση
Automatic Installation (Recommended)
- Log in to your WordPress dashboard.
- Navigate to “Plugins” > “Add New”.
- In the search field, type “Prjcts”.
- Once you’ve found the plugin, click “Install Now”.
- After installation, click “Activate” to enable the plugin on your site.
Manual Installation
- Download the plugin zip file from the WordPress plugin repository or from where you’ve made it available.
- Log in to your WordPress dashboard.
- Navigate to “Plugins” > “Add New”.
- Click the “Upload Plugin” button at the top of the page.
- Choose the downloaded zip file and click “Install Now”.
- Once installation is complete, click “Activate”.
Post-Installation Setup
Navigate to “Projects” in your WordPress dashboard menu to start adding new projects. To customize plugin settings, go to “Projects” > “Settings” in the dashboard, here you can modify the slugs for your project archive page and custom taxonomy
Κριτικές
Δεν υπάρχουν αξιολογήσεις για αυτό το πρόσθετο.
Συνεισφέροντες & Προγραμματιστές
“Prjcts” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.
ΣυντελεστέςΜεταφράστε το “Prjcts” στην γλώσσα σας.
Ενδιαφέρεστε για την ανάπτυξη;
Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .
Σύνοψη αλλαγών
1.0.3
- Tested up to WordPress version 6.7
1.0.2
- Fixed a text error in the readme.txt file
1.0.1
- Initial release