Beskrivning
IMPORTANT: The plugin Custom Post Type Creator will no longer be supported or updated.
Custom Post Type Creator is now part of WCK – Custom Fields and Custom Post Types Creator plugin, which is fully compatible. Download it and install it instead of the current plugin.
WCK Custom Post Type Creator allows you to easily create custom post types for WordPress without any programming knowledge. It provides an UI for most of the arguments of register_post_type() function.
Features:
- Create and edit Custom Post Types from the Admin UI
- Advanced Labeling Options
- Attach built in or custom taxonomies to post types
Skärmdumpar
Installation
- Upload the wck-cptc folder to the ’/wp-content/plugins/’ directory
- Activate the plugin through the ’Plugins’ menu in WordPress
- Then navigate to WCK => Post Type Creator tab and start creating your custom post types.
Vanliga frågor
- Querying by post type in the frontend?
-
You can create new queries to display posts from a specific post type. This is done via the post_type parameter to a WP_Query.
Example:
<?php $args = array( 'post_type' => 'product', 'posts_per_page' => 10 ); $loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post(); the_title(); echo '<div class="entry-content">'; the_content(); echo '</div>'; endwhile;?>
This simply loops through the latest 10 product posts and displays the title and content of them.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”Custom Post Type Creator” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Custom Post Type Creator” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.0.2
- Important notice: This plugin will no longer be supported or updated. Use WCK – Custom Fields and Custom Post Types Creator plugin instead.
1.0.1
- Compatible with WordPress 3.5